Mercurial > hg > early-roguelike
comparison srogue/main.c @ 300:0250220d8cdd
Fix an assortment of compiler warnings.
A few potential bugs were removed in the process. Much code cleanup
remains to be done.
author | John "Elwin" Edwards |
---|---|
date | Fri, 22 Nov 2019 21:18:27 -0500 |
parents | 17005af49963 |
children |
comparison
equal
deleted
inserted
replaced
299:74351bf23e5e | 300:0250220d8cdd |
---|---|
45 main(int argc, char *argv[], char *envp[]) | 45 main(int argc, char *argv[], char *envp[]) |
46 { | 46 { |
47 register char *env; | 47 register char *env; |
48 register struct linked_list *item; | 48 register struct linked_list *item; |
49 register struct object *obj; | 49 register struct object *obj; |
50 char alldone, wpt; | 50 char alldone; |
51 int wpt; | |
51 char *getpass(), *xcrypt(), *strrchr(); | 52 char *getpass(), *xcrypt(), *strrchr(); |
52 char *homedir = roguehome(); | 53 char *homedir = roguehome(); |
53 | 54 |
54 md_init(); | 55 md_init(); |
55 | 56 |