]> arthur.barton.de Git - netatalk.git/blobdiff - bin/nbp/nbprgstr.c
massive commenting/autoconf changes
[netatalk.git] / bin / nbp / nbprgstr.c
index a3c9d6ea66d6ba8edcb85be202b6b05bdd76a43f..b12039603b6b37c3995b1b4b528eef74853e0351 100644 (file)
@@ -1,13 +1,16 @@
 /*
+ * $Id: nbprgstr.c,v 1.4 2001-06-29 14:14:46 rufustfirefly Exp $
+ *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
  */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
-#endif
+#endif /* HAVE_CONFIG_H */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <sys/types.h>
 #include <sys/param.h>
 #include <netatalk/endian.h>
 #include <netatalk/at.h>
 #include <atalk/netddp.h>
+#include <atalk/nbp.h>
 #include <atalk/util.h>
 
-Usage( av0 )
+void Usage( av0 )
     char       *av0;
 {
     char       *p;
@@ -32,7 +36,7 @@ Usage( av0 )
     exit( 1 );
 }
 
-main( ac, av )
+int main( ac, av )
     int                ac;
     char       **av;
 {
@@ -90,4 +94,6 @@ main( ac, av )
        exit( 1 );
     }
     netddp_close(s);
+
+    return 0;
 }