aboutsummaryrefslogtreecommitdiff
path: root/ntpdc/ntpdc.h
diff options
context:
space:
mode:
Diffstat (limited to 'ntpdc/ntpdc.h')
-rw-r--r--ntpdc/ntpdc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ntpdc/ntpdc.h b/ntpdc/ntpdc.h
index 785c31242d74..9d41a70ccd59 100644
--- a/ntpdc/ntpdc.h
+++ b/ntpdc/ntpdc.h
@@ -34,7 +34,7 @@ typedef struct {
char *string;
long ival;
u_long uval;
- struct sockaddr_storage netnum;
+ sockaddr_u netnum;
} arg_v;
/*
@@ -53,7 +53,7 @@ struct parse {
*/
struct xcmd {
const char *keyword; /* command key word */
- void (*handler) P((struct parse *, FILE *)); /* command handler */
+ void (*handler) (struct parse *, FILE *); /* command handler */
u_char arg[MAXARGS]; /* descriptors for arguments */
const char *desc[MAXARGS]; /* descriptions for arguments */
const char *comment;
@@ -63,5 +63,5 @@ extern int impl_ver;
extern int showhostnames;
extern int s_port;
-extern int doquery P((int, int, int, int, int, char *, int *, int *, char **, int, int));
-extern char * nntohost P((struct sockaddr_storage *));
+extern int doquery (int, int, int, int, int, char *, int *, int *, char **, int, int);
+extern char * nntohost (sockaddr_u *);