diff options
author | wollman <wollman@FreeBSD.org> | 1994-04-03 20:37:34 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1994-04-03 20:37:34 +0000 |
commit | 8871cc86456af7ac2b6aaac295b53fbc833f0e89 (patch) | |
tree | 312766d509f6692c70474b147c86e23b0cb7889c /usr.sbin/xntpd/xntpdc | |
parent | e443cab17b10edaf34f39653876a52614bf98e94 (diff) | |
download | FreeBSD-src-8871cc86456af7ac2b6aaac295b53fbc833f0e89.zip FreeBSD-src-8871cc86456af7ac2b6aaac295b53fbc833f0e89.tar.gz |
Upgraded to Delaware version 3.3p (yes, that's right, they're not increasing).
This version still doesn't talk to the kernel PLL code, but you should be
able to convince it to do so relatively easily. Also deleted some junk
files and fixed all compilation warnings.
Diffstat (limited to 'usr.sbin/xntpd/xntpdc')
-rw-r--r-- | usr.sbin/xntpd/xntpdc/ntpdc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/xntpd/xntpdc/ntpdc.c b/usr.sbin/xntpd/xntpdc/ntpdc.c index aae1b40..3113c9f 100644 --- a/usr.sbin/xntpd/xntpdc/ntpdc.c +++ b/usr.sbin/xntpd/xntpdc/ntpdc.c @@ -53,7 +53,7 @@ static int findcmd P((char *, struct xcmd *, struct xcmd *, struct xcmd **)); static int getarg P((char *, int, arg_v *)); static int getnetnum P((char *, U_LONG *, char *)); static void help P((struct parse *, FILE *)); -#if defined(sgi) || defined(SYS_BSDI) +#if defined(sgi) || defined(SYS_BSDI) || defined(__STDC__) static int helpsort P((const void *, const void *)); #else static int helpsort P((char **, char **)); @@ -1153,7 +1153,7 @@ help(pcmd, fp) for (xcp = opcmds; xcp->keyword != 0; xcp++) cmdsort[n++] = xcp->keyword; -#if defined(sgi) || defined(SYS_BSDI) +#if defined(sgi) || defined(SYS_BSDI) || defined(__STDC__) qsort((void *)cmdsort, n, sizeof(char *), helpsort); #else qsort((char *)cmdsort, n, sizeof(char *), helpsort); @@ -1199,7 +1199,7 @@ help(pcmd, fp) * helpsort - do hostname qsort comparisons */ static int -#if defined(sgi) || defined(SYS_BSDI) +#if defined(sgi) || defined(SYS_BSDI) || defined(__STDC__) helpsort(t1, t2) const void *t1; const void *t2; |