diff options
author | mdodd <mdodd@FreeBSD.org> | 2003-03-25 04:29:26 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2003-03-25 04:29:26 +0000 |
commit | ac62ea46fc515e25874659c70e765453cdd4b672 (patch) | |
tree | 50f1eacd42d75e067b1a4554b4ba8a880f09a00c /lib/libatm/libatm.h | |
parent | f74cd6a71b113eae1cf5d3760c7a6260d3e0de41 (diff) | |
download | FreeBSD-src-ac62ea46fc515e25874659c70e765453cdd4b672.zip FreeBSD-src-ac62ea46fc515e25874659c70e765453cdd4b672.tar.gz |
Fix warnings.
Diffstat (limited to 'lib/libatm/libatm.h')
-rw-r--r-- | lib/libatm/libatm.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libatm/libatm.h b/lib/libatm/libatm.h index 61dd6cc..7014233 100644 --- a/lib/libatm/libatm.h +++ b/lib/libatm/libatm.h @@ -71,7 +71,7 @@ struct harp_timer { struct harp_timer *ht_next; /* Timer chain */ int ht_ticks; /* Seconds till exp */ int ht_mark; /* Processing flag */ - void (*ht_func)(); /* Function to call */ + void (*ht_func)(struct harp_timer *); /* Function to call */ }; typedef struct harp_timer Harp_timer; @@ -100,7 +100,7 @@ extern int get_netif_info(char *, struct air_netif_rsp **); /* ip_addr.c */ extern struct sockaddr_in *get_ip_addr(char *); -extern char *format_ip_addr(struct in_addr *); +extern const char *format_ip_addr(struct in_addr *); /* ip_checksum.c */ extern short ip_checksum(char *, int); @@ -108,9 +108,9 @@ extern short ip_checksum(char *, int); /* timer.c */ extern Harp_timer *harp_timer_head; extern int harp_timer_exec; -extern void timer_proc(); -extern int init_timer(); -extern int block_timer(); +extern void timer_proc(void); +extern int init_timer(void); +extern int block_timer(void); extern void enable_timer(int); |