diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-17 19:42:41 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-02-17 19:42:41 +0000 |
commit | d522f6eb0324008023fed0be4d046f3fc51b0356 (patch) | |
tree | 9ecf8345e3c3ff77a81ef2a20d84c6497533e804 /usr.sbin/mtrace/mtrace.c | |
parent | 1b433a7e5b43fe0dec72e100525e31299629c117 (diff) |
Manual cleanup of remaining userland __P use (excluding packages maintained outside the tree)
Diffstat (limited to 'usr.sbin/mtrace/mtrace.c')
-rw-r--r-- | usr.sbin/mtrace/mtrace.c | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/usr.sbin/mtrace/mtrace.c b/usr.sbin/mtrace/mtrace.c index 81d76614a44..d0e5e9a140a 100644 --- a/usr.sbin/mtrace/mtrace.c +++ b/usr.sbin/mtrace/mtrace.c @@ -52,7 +52,7 @@ #ifndef lint static char rcsid[] = - "@(#) $Id: mtrace.c,v 1.10 2002/02/16 21:28:05 millert Exp $"; + "@(#) $Id: mtrace.c,v 1.11 2002/02/17 19:42:37 millert Exp $"; #endif #include <netdb.h> @@ -149,21 +149,19 @@ u_int32_t get_netmask(int s, u_int32_t dst); int get_ttl(struct resp_buf *buf); int t_diff(u_long a, u_long b); u_long fixtime(u_long time); -int send_recv __P((u_int32_t dst, int type, int code, - int tries, struct resp_buf *save)); +int send_recv(u_int32_t dst, int type, int code, + int tries, struct resp_buf *save); char * print_host(u_int32_t addr); char * print_host2(u_int32_t addr1, u_int32_t addr2); void print_trace(int index, struct resp_buf *buf); int what_kind(struct resp_buf *buf, char *why); char * scale(int *hop); -void stat_line __P((struct tr_resp *r, struct tr_resp *s, - int have_next, int *res)); -void fixup_stats __P((struct resp_buf *base, - struct resp_buf *prev, - struct resp_buf *new)); -int print_stats __P((struct resp_buf *base, - struct resp_buf *prev, - struct resp_buf *new)); +void stat_line(struct tr_resp *r, struct tr_resp *s, + int have_next, int *res); +void fixup_stats(struct resp_buf *base, + struct resp_buf *prev, struct resp_buf *new); +int print_stats(struct resp_buf *base, + struct resp_buf *prev, struct resp_buf *new); void check_vif_state(void); int main(int argc, char *argv[]); |