]> arthur.barton.de Git - netatalk.git/commitdiff
Warning fixes.
authorsrittau <srittau>
Tue, 31 Jul 2001 19:49:02 +0000 (19:49 +0000)
committersrittau <srittau>
Tue, 31 Jul 2001 19:49:02 +0000 (19:49 +0000)
21 files changed:
bin/afppasswd/afppasswd.c
bin/getzones/getzones.c
bin/nbp/nbpunrgstr.c
bin/pap/pap.c
contrib/printing/timeout.c
etc/afpd/afp_asp.c
etc/afpd/afp_options.c
etc/afpd/auth.c
etc/afpd/quota.c
etc/afpd/test_parse_mtab.c
etc/afpd/unix.c
etc/atalkd/interface.h
etc/atalkd/multicast.c
etc/papd/main.c
etc/papd/printcap.c
etc/papd/queries.c
include/atalk/adouble.h
include/atalk/nbp.h
include/atalk/paths.h
libatalk/adouble/ad_open.c
libatalk/util/getiface.c

index 32fc575c062c31592187b63f49597c02f95fc249..980ca4a26087d0d562cc1b83f41604de65c59293 100644 (file)
@@ -1,5 +1,5 @@
 /* 
- * $Id: afppasswd.c,v 1.6 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $Id: afppasswd.c,v 1.7 2001-07-31 19:49:02 srittau Exp $
  *
  * Copyright 1999 (c) Adrian Sun (asun@u.washington.edu)
  * All Rights Reserved. See COPYRIGHT.
@@ -263,7 +263,7 @@ int main(int argc, char **argv)
   int i, err = 0;
 
   extern char *optarg;
-  extern int optind, opterr;
+  extern int optind;
 
   flags = ((uid = getuid()) == 0) ? OPT_ISROOT : 0;
 
index 7301be97d1d5d03768d73115356097de6582eef2..4e70124d731b5305ef426c61c4d8247de87557df 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: getzones.c,v 1.4 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $Id: getzones.c,v 1.5 2001-07-31 19:49:02 srittau Exp $
  */
 
 #ifdef HAVE_CONFIG_H
@@ -19,6 +19,7 @@
 #endif /* HAVE_NETDB_H */
 #include <stdio.h>
 #include <string.h>
+#include <stdlib.h>
 #include <netatalk/endian.h>
 #include <netatalk/at.h>
 #include <atalk/atp.h>
index 19966b180719c3b7d9e4be897303aa6e03a80685..4cd68039596e14f5a15a1ca6484a33467d61c34b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: nbpunrgstr.c,v 1.4 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $Id: nbpunrgstr.c,v 1.5 2001-07-31 19:49:02 srittau Exp $
  *
  * Copyright (c) 1990,1991 Regents of The University of Michigan.
  * All Rights Reserved.
@@ -30,6 +30,7 @@
 #include <sys/types.h>
 #include <stdio.h>
 #include <string.h>
+#include <stdlib.h>
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif /* HAVE_UNISTD_H */
index e65ab39b0c7cf86f09e47941466c82ffb5c317dd..a254ab737efb116ca4931867e5a7194793f4de6e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: pap.c,v 1.6 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $Id: pap.c,v 1.7 2001-07-31 19:49:02 srittau Exp $
  *
  * Copyright (c) 1990,1994 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -24,6 +24,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <string.h>
+#include <stdlib.h>
 #include <errno.h>
 
 #define FUCKED
index 539ff7ab00b9b2b8fb3cb009d3c89a757c5c7033..10ff466852d7092ca22c04f9acb7c56a440a73f9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: timeout.c,v 1.3 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $Id: timeout.c,v 1.4 2001-07-31 19:49:37 srittau Exp $
  */
 
 #ifdef HAVE_CONFIG_H
@@ -22,108 +22,108 @@ struct slist {
        int num;
 } sigs[] = {
 #ifdef SIGHUP
-       "HUP",          SIGHUP,
+       { "HUP",        SIGHUP },
 #endif
 #ifdef SIGINT
-       "INT",          SIGINT,
+       { "INT",        SIGINT },
 #endif
 #ifdef SIGQUIT
-       "QUIT",         SIGQUIT,
+       { "QUIT",       SIGQUIT },
 #endif
 #ifdef SIGILL
-       "ILL",          SIGILL,
+       { "ILL",        SIGILL },
 #endif
 #ifdef SIGTRAP
-       "TRAP",         SIGTRAP,
+       { "TRAP",       SIGTRAP },
 #endif
 #ifdef SIGABRT
-       "ABRT",         SIGABRT,
+       { "ABRT",       SIGABRT },
 #endif
 #ifdef SIGIOT
-       "IOT",          SIGIOT,
+       { "IOT",        SIGIOT },
 #endif
 #ifdef SIGEMT
-       "EMT",          SIGEMT,
+       { "EMT",        SIGEMT },
 #endif
 #ifdef SIGFPE
-       "FPE",          SIGFPE,
+       { "FPE",        SIGFPE },
 #endif
 #ifdef SIGKILL
-       "KILL",         SIGKILL,
+       { "KILL",       SIGKILL },
 #endif
 #ifdef SIGBUS
-       "BUS",          SIGBUS,
+       { "BUS",        SIGBUS },
 #endif
 #ifdef SIGSEGV
-       "SEGV",         SIGSEGV,
+       { "SEGV",       SIGSEGV },
 #endif
 #ifdef SIGSYS
-       "SYS",          SIGSYS,
+       { "SYS",        SIGSYS },
 #endif
 #ifdef SIGPIPE
-       "PIPE",         SIGPIPE,
+       { "PIPE",       SIGPIPE },
 #endif
 #ifdef SIGALRM
-       "ALRM",         SIGALRM,
+       { "ALRM",       SIGALRM },
 #endif
 #ifdef SIGTERM
-       "TERM",         SIGTERM,
+       { "TERM",       SIGTERM },
 #endif
 #ifdef SIGURG
-       "URG",          SIGURG,
+       { "URG",        SIGURG },
 #endif
 #ifdef SIGSTOP
-       "STOP",         SIGSTOP,
+       { "STOP",       SIGSTOP },
 #endif
 #ifdef SIGTSTP
-       "TSTP",         SIGTSTP,
+       { "TSTP",       SIGTSTP },
 #endif
 #ifdef SIGCONT
-       "CONT",         SIGCONT,
+       { "CONT",       SIGCONT },
 #endif
 #ifdef SIGCHLD
-       "CHLD",         SIGCHLD,
+       { "CHLD",       SIGCHLD },
 #endif
 #ifdef SIGCLD
-       "CLD",          SIGCLD,
+       { "CLD",        SIGCLD },
 #endif
 #ifdef SIGTTIN
-       "TTIN",         SIGTTIN,
+       { "TTIN",       SIGTTIN },
 #endif
 #ifdef SIGTTOU
-       "TTOU",         SIGTTOU,
+       { "TTOU",       SIGTTOU },
 #endif
 #ifdef SIGIO
-       "IO",           SIGIO,
+       { "IO",         SIGIO },
 #endif
 #ifdef SIGXCPU
-       "XCPU",         SIGXCPU,
+       { "XCPU",       SIGXCPU },
 #endif
 #ifdef SIGXFSZ
-       "XFSZ",         SIGXFSZ,
+       { "XFSZ",       SIGXFSZ },
 #endif
 #ifdef SIGVTALRM
-       "VTALRM",       SIGVTALRM,
+       { "VTALRM",     SIGVTALRM },
 #endif
 #ifdef SIGPROF
-       "PROF",         SIGPROF,
+       { "PROF",       SIGPROF },
 #endif
 #ifdef SIGWINCH
-       "WINCH",        SIGWINCH,
+       { "WINCH",      SIGWINCH },
 #endif
 #ifdef SIGINFO
-       "INFO",         SIGINFO,
+       { "INFO",       SIGINFO },
 #endif
 #ifdef SIGUSR1
-       "USR1",         SIGUSR1,
+       { "USR1",       SIGUSR1 },
 #endif
 #ifdef SIGUSR2
-       "USR2",         SIGUSR2,
+       { "USR2",       SIGUSR2 },
 #endif
 #ifdef SIGPWR
-       "PWR",          SIGPWR,
+       { "PWR",        SIGPWR },
 #endif
-       0,              0
+       { 0,            0 }
 };
 
 void
index 316ec0bf913f28b64a91b66a46210d34dec73166..89641691cfaf181778e2358f70834f0f8d925eb8 100644 (file)
@@ -1,5 +1,5 @@
 /* 
- * $Id: afp_asp.c,v 1.5 2001-06-20 18:33:04 rufustfirefly Exp $
+ * $Id: afp_asp.c,v 1.6 2001-07-31 19:50:14 srittau Exp $
  *
  * Copyright (c) 1997 Adrian Sun (asun@zoology.washington.edu)
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
@@ -174,7 +174,7 @@ void afp_over_asp(AFPObj *obj)
          }
          writtenfork = NULL;
        }
-#endif AFS
+#endif /* AFS */
        func = (u_char) asp->commands[0];
        if ( obj->options.flags & OPTION_DEBUG ) {
          printf( "command: %d\n", func );
index 199d09f6e14cd1c415dc549beb0fb4f570347c3f..e7a8f188b8cbaa8600d01becd255491ef13d5e73 100644 (file)
@@ -1,5 +1,5 @@
 /* 
- * $Id: afp_options.c,v 1.7 2001-06-20 18:33:04 rufustfirefly Exp $
+ * $Id: afp_options.c,v 1.8 2001-07-31 19:50:14 srittau Exp $
  *
  * Copyright (c) 1997 Adrian Sun (asun@zoology.washington.edu)
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
@@ -120,7 +120,7 @@ void afp_options_init(struct afp_options *options)
   options->configfile = _PATH_AFPDCONF;
   options->nlspath = _PATH_AFPDNLSPATH;
   options->uampath = _PATH_AFPDUAMPATH;
-  options->uamlist = "uams_guest.so,uams_clrtxt.so,uams_dhx.so";
+  options->uamlist = "uams_clrtxt.so,uams_dhx.so";
   options->guest = "nobody";
   options->loginmesg = "";
   options->transports = AFPTRANS_ALL;
index e3d76d18bb29f61fa3e532717db74e42ed9c027a..195ba5ebfb0722d53f73ffbe61ce526331a26011 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: auth.c,v 1.16 2001-06-25 15:18:01 rufustfirefly Exp $
+ * $Id: auth.c,v 1.17 2001-07-31 19:50:14 srittau Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -52,15 +52,15 @@ int afp_version = 11;
 uid_t  uuid;
 #if defined( __svr4__ ) && !defined( NGROUPS )
 #define NGROUPS NGROUPS_MAX
-#endif __svr4__ NGROUPS
+#endif /* __svr4__ NGROUPS */
 #if defined( sun ) && !defined( __svr4__ ) || defined( ultrix )
 int    groups[ NGROUPS ];
-#else sun __svr4__ ultrix
+#else /* sun __svr4__ ultrix */
 #if defined( __svr4__ ) && !defined( NGROUPS )
 #define NGROUPS        NGROUPS_MAX
-#endif __svr4__ NGROUPS
+#endif /* __svr4__ NGROUPS */
 gid_t  groups[ NGROUPS ];
-#endif sun ultrix
+#endif /* sun ultrix */
 int    ngroups;
 
 /*
@@ -151,7 +151,7 @@ static int login(AFPObj *obj, struct passwd *pwd, void (*logout)(void))
 {
 #ifdef ADMIN_GRP
     int admin = 0;
-#endif ADMIN_GRP
+#endif /* ADMIN_GRP */
 
     /* UAM had syslog control; afpd needs to reassert itself */
     openlog( "afpd", LOG_NDELAY|LOG_PID, LOG_DAEMON);
index 8f92111f2891950423412800d39da70bd2a3e3b1..2398c6c63c40e3d84e4b303a04d47a82444718fe 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: quota.c,v 1.9 2001-06-20 18:33:04 rufustfirefly Exp $
+ * $Id: quota.c,v 1.10 2001-07-31 19:50:14 srittau Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -195,7 +195,7 @@ static int getfsquota(vol, uid, dq)
     if ( quota( Q_GETDLIM, uid, vol->v_gvs, dq ) != 0 ) {
        return( AFPERR_PARAM );
     }
-#else ultrix
+#else /* ultrix */
 
 #ifndef USRQUOTA
 #define USRQUOTA   0
index 03ebd37be5f8519cf5e188f803ed37d640829973..ffa95138a71db6b54187261e45711ec4aafc5971 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: test_parse_mtab.c,v 1.2 2001-06-10 20:15:00 srittau Exp $
+ * $Id: test_parse_mtab.c,v 1.3 2001-07-31 19:50:14 srittau Exp $
  * test driver for the afpd_mtab_parse fn.  -- rgr, 9-Apr-01.
  */
 
@@ -10,6 +10,7 @@
 #include <stdio.h>
 #include <errno.h>
 #include <string.h>
+#include <stdlib.h>
 
 #ifdef HAVE_SYS_STAT_H
 #include <sys/stat.h>
index acb6e23bce3c6aeb9d4dcb4e0d9c9b9697efdbf3..8c1029b705bc6c8e0b7802994825bd696583d45b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: unix.c,v 1.18 2001-06-06 19:04:25 rufustfirefly Exp $
+ * $Id: unix.c,v 1.19 2001-07-31 19:50:14 srittau Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -52,10 +52,10 @@ int ustatfs_getvolspace( vol, bfree, btotal, bsize )
 #ifdef ultrix
     *bfree = (VolSpace) sfs.fd_req.bfreen;
     *bsize = 1024;
-#else
+#else /* !ultrix */
     *bfree = (VolSpace) sfs.f_bavail;
     *bsize = sfs.f_frsize;
-#endif ultrix
+#endif /* ultrix */
 
     if ( *bfree > maxVolSpace / *bsize ) {
         *bfree = maxVolSpace;
@@ -66,10 +66,10 @@ int ustatfs_getvolspace( vol, bfree, btotal, bsize )
 #ifdef ultrix
     *btotal = (VolSpace) 
       ( sfs.fd_req.btot - ( sfs.fd_req.bfree - sfs.fd_req.bfreen ));
-#else ultrix
+#else /* !ultrix */
     *btotal = (VolSpace) 
       ( sfs.f_blocks - ( sfs.f_bfree - sfs.f_bavail ));
-#endif ultrix
+#endif /* ultrix */
 
     // see similar block above comments
     if ( *btotal > maxVolSpace / *bsize ) {
index 735b1f7ecc5c46180d5221b1f09e6b86cf0a53ff..f1e4dd3fe0256a1c183719fc154012c96fee0c3d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: interface.h,v 1.2 2001-06-25 20:13:45 rufustfirefly Exp $
+ * $Id: interface.h,v 1.3 2001-07-31 19:50:14 srittau Exp $
  * Copyright (c) 1990,1992 Regents of The University of Michigan.
  * All Rights Reserved. See COPYRIGHT.
  */
@@ -45,9 +45,9 @@ struct interface {
 
 #ifdef linux
 #define LOOPIFACE      "lo"
-#else linux
+#else /* !linux */
 #define LOOPIFACE      "lo0"
-#endif linux
+#endif /* linux */
 
 extern struct interface        *interfaces;
 extern struct interface        *ciface;
index 72dba048c1c998a821a70d13f833213afcfc7af4..af0b7115fc011e72db0375bd835bbf7623671316 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: multicast.c,v 1.5 2001-06-25 20:13:45 rufustfirefly Exp $
+ * $Id: multicast.c,v 1.6 2001-07-31 19:50:14 srittau Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved. See COPYRIGHT.
@@ -394,7 +394,7 @@ zone_bcast( zt )
      }
 
     for ( i = 0; i < zt->zt_len; i++ ) {
-       uname[ i ] = diatoupper(zt->zt_name[ i ]);
+       uname[ i ] = diatoupper((int) zt->zt_name[ i ]);
     }
     cksum = atalk_cksum( uname, zt->zt_len );
 #define elements(a)   (sizeof(a)/sizeof((a)[0]))
index be4d84f674472b014a801f4501f46c8cb2544ea1..03b088c2c9aaa8a4ac79acf5f92e56ba82e0038e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: main.c,v 1.7 2001-06-25 20:13:45 rufustfirefly Exp $
+ * $Id: main.c,v 1.8 2001-07-31 19:50:14 srittau Exp $
  *
  * Copyright (c) 1990,1995 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -140,7 +140,6 @@ int main( ac, av )
     char       **av;
 {
     extern char         *optarg;
-    extern int          optind;
 
     ATP                        atp;
     struct atp_block   atpb;
index 203269f252c9888c68ac1b0b5647615da37d3f77..633ff4ebf6a1067a70f5602255458cf2c868bcc0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: printcap.c,v 1.4 2001-06-25 20:13:45 rufustfirefly Exp $
+ * $Id: printcap.c,v 1.5 2001-07-31 19:50:14 srittau Exp $
  *
  * Copyright (c) 1990,1994 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -47,7 +47,7 @@ static char sccsid[] = "@(#)printcap.c        5.7 (Berkeley) 3/4/91";
 #include <ctype.h>
 #include <stdio.h>
 #include <string.h>
-#ifndef HAVE_UNISTD_H
+#ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif /* HAVE_UNISTD_H */
 #include <sys/types.h>
index 01a7d3ba75eca85dc1cfd6761036dbe5c67bbecf..ba0e8ca1096d8058c231ceca0ac18efb0d32ba23 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: queries.c,v 1.7 2001-06-25 20:13:45 rufustfirefly Exp $
+ * $Id: queries.c,v 1.8 2001-07-31 19:50:14 srittau Exp $
  *
  * Copyright (c) 1990,1994 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -743,7 +743,7 @@ struct papd_comment queries[] = {
 #ifdef KRB
     { "%%Login: UMICHKerberosIV", 0,                   cq_k4login,     0 },
     { "%%?BeginUAMethodsQuery",        "%%?EndUAMethodsQuery:", cq_uameth, C_FULL },
-#endif KRB
+#endif /* KRB */
     { "%UMICHListQueue", 0,                            cq_listq, C_FULL },
     { "%UMICHDeleteJob", 0,                            cq_rmjob,       0 },
     { "%%?BeginQuery: RBILogin ", "%%?EndQuery",       cq_rbilogin,    0 },
index 79a2fa870ec3fecbb6b9ef85855eb3eb5782f092..0969bd2b1b84c72aff599ca85309c943a108d9ca 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: adouble.h,v 1.6 2001-06-11 17:27:28 rufustfirefly Exp $
+ * $Id: adouble.h,v 1.7 2001-07-31 19:51:12 srittau Exp $
  * Copyright (c) 1990,1991 Regents of The University of Michigan.
  * All Rights Reserved.
  *
@@ -125,7 +125,7 @@ static inline int sendfile(int fdout, int fdin, off_t *off, size_t count)
 #define AD_DATASZ_MAX   1024
 #if AD_VERSION == AD_VERSION1
 #define AD_DATASZ      AD_DATASZ1 /* hold enough for the entries */
-#else if AD_VERSION == AD_VERSION2
+#elif AD_VERSION == AD_VERSION2
 #define AD_DATASZ       AD_DATASZ2
 #endif
 
index 6ae31aa177239d25a1ed132e8268ff17ab7bc659..e917adfa34bdf29830ca6e9a407883a7e62304a2 100644 (file)
@@ -35,10 +35,10 @@ struct nbphdr {
 #if BYTE_ORDER == BIG_ENDIAN
     unsigned   nh_op : 4,
                nh_cnt : 4,
-#else BYTE_ORDER
+#else /* BYTE_ORDER != BIG_ENDIAN */
     unsigned   nh_cnt : 4,
                nh_op : 4,
-#endif BYTE_ORDER
+#endif /* BYTE_ORDER */
                nh_id : 8;
 };
 
index ae076a7a02743c5505ff52b94108d4de7d9e9a0a..0029cbffcfedbf9fca2d36e0437ce9a37f724110 100644 (file)
 #define _PATH_PAPDPRINTCAP     "/etc/printcap"
 #ifdef ultrix
 #define _PATH_PAPDSPOOLDIR     "/usr/spool/lpd"
-#else ultrix
+#else /* !ultrix */
 #define _PATH_PAPDSPOOLDIR     "/var/spool/lpd"
-#endif ultrix
+#endif /* ultrix */
 #ifdef BSD4_4
 #define _PATH_DEVPRINTER       "/var/run/printer"
-#else BSD4_4
+#else /* !BSD4_4 */
 #define _PATH_DEVPRINTER       "/dev/printer"
-#endif BSD4_4
+#endif /* BSD4_4 */
 
 /*
  * atalkd paths
index 22fc4415b835bb0f62015888f3a68bbae8fd8ca8..6bd0205dc9242dd8392e25163a003cb2763de8a1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: ad_open.c,v 1.8 2001-06-29 14:14:46 rufustfirefly Exp $
+ * $Id: ad_open.c,v 1.9 2001-07-31 19:52:25 srittau Exp $
  *
  * Copyright (c) 1999 Adrian Sun (asun@u.washington.edu)
  * Copyright (c) 1990,1991 Regents of The University of Michigan.
@@ -155,7 +155,7 @@ static const struct entry entry_order[] = {
   {ADEID_RFORK, ADEDOFF_RFORK_V1, ADEDLEN_INIT},
   {0, 0, 0}
 };
-#else if AD_VERSION == AD_VERSION2
+#else /* AD_VERSION == AD_VERSION2 */
 static const struct entry entry_order[] = {
   {ADEID_NAME, ADEDOFF_NAME_V2, ADEDLEN_INIT},
   {ADEID_COMMENT, ADEDOFF_COMMENT_V2, ADEDLEN_INIT},
index af175d99ace99292d7e5bd862662552e05dc984d..2088dc2160f7f43ed9686d29ce5b94f02ddb782b 100644 (file)
@@ -98,9 +98,9 @@ static int getifaces(const int sockfd, char **list, int *length)
        ifrsize = sizeof(ifr->ifr_name) +
          (ifr->ifr_addr.sa_len > sizeof(struct sockaddr)
           ? ifr->ifr_addr.sa_len : sizeof(struct sockaddr));
-#else BSD4_4
+#else /* !BSD4_4 */
        ifrsize = sizeof( struct ifreq );
-#endif BSD4_4
+#endif /* BSD4_4 */
        nextifr = (struct ifreq *)((caddr_t)ifr + ifrsize );
 
        /* just bail if there's a problem */