diff options
author | dholland <dholland@NetBSD.org> | 2008-01-28 03:23:29 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2008-01-28 03:23:29 +0000 |
commit | 4c39d3d5d3a9a029eecd375d4c55d91ed234cc9c (patch) | |
tree | 18650ae36850c1da11197138ae67b983fdac2708 /hunt/huntd/hunt.h | |
parent | 1855dcd4d2560ee6a85ee271e81ba19d567dd596 (diff) | |
download | bsdgames-darwin-4c39d3d5d3a9a029eecd375d4c55d91ed234cc9c.tar.gz bsdgames-darwin-4c39d3d5d3a9a029eecd375d4c55d91ed234cc9c.tar.zst bsdgames-darwin-4c39d3d5d3a9a029eecd375d4c55d91ed234cc9c.zip |
clean for WARNS=4
Diffstat (limited to 'hunt/huntd/hunt.h')
-rw-r--r-- | hunt/huntd/hunt.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/hunt/huntd/hunt.h b/hunt/huntd/hunt.h index 0d061d14..20f33d41 100644 --- a/hunt/huntd/hunt.h +++ b/hunt/huntd/hunt.h @@ -1,4 +1,4 @@ -/* $NetBSD: hunt.h,v 1.11 2004/02/08 22:23:50 jsm Exp $ */ +/* $NetBSD: hunt.h,v 1.12 2008/01/28 03:23:29 dholland Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. @@ -290,8 +290,8 @@ typedef struct sockaddr_un SOCKET; struct ident_def { char i_name[NAMELEN]; char i_team; - long i_machine; - long i_uid; + uint32_t i_machine; + uint32_t i_uid; float i_kills; int i_entries; float i_score; @@ -370,7 +370,7 @@ extern FLAG Last_player; extern char Buf[BUFSIZ], Maze[HEIGHT][WIDTH2], Orig_maze[HEIGHT][WIDTH2]; -extern char *Driver; +extern const char *Driver; extern int Nplayer, Socket, Status; extern struct pollfd fdset[]; @@ -439,20 +439,20 @@ void execute(PLAYER *); void faketalk(void); void find_driver(FLAG); void fixshots(int, int, char); -IDENT *get_ident(u_long, u_long, char *, char); +IDENT *get_ident(uint32_t, uint32_t, char *, char); void get_local_name(char *); int get_remote_name(char *); BULLET *is_bullet(int, int); void look(PLAYER *); void makemaze(void); -void message(PLAYER *, char *); +void message(PLAYER *, const char *); void mon_execute(PLAYER *); void moveshots(void); void open_ctl(void); int opposite(int, char); void otto(int, int, char); void outch(PLAYER *, int); -void outstr(PLAYER *, char *, int); +void outstr(PLAYER *, const char *, int); int player_sym(PLAYER *, int, int); PLAYER *play_at(int, int); void playit(void); |