]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/compat/getusershell.c
Merge branch 'branch-netatalk-3-0' into develop
[netatalk.git] / libatalk / compat / getusershell.c
index 4e4ed755078e641ca63f8c83725286e526dcc9db..481978b9f42f67f8f5897623c9bd62ba66810196 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ *
  * Copyright (c) 1985 Regents of the University of California.
  * All rights reserved.
  *
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
-#endif
+#endif /* HAVE_CONFIG_H */
 
 #if defined(LIBC_SCCS) && !defined(lint)
 static char sccsid[] = "@(#)getusershell.c     5.6 (Berkeley) 6/1/90";
 #endif /* LIBC_SCCS and not lint */
 
-static int     _getusershell_dummy;
-
 #if defined(ultrix) || defined(_IBMR2) || defined(NEED_GETUSERSHELL)
 
 #include <sys/param.h>
@@ -44,7 +43,7 @@ static char *okshells[] = {
     "/bin/sh", "/bin/csh",
 #ifdef _IBMR2
     "/bin/ksh",
-#endif _IBMR2
+#endif /* _IBMR2 */
     0
 };
 
@@ -134,4 +133,4 @@ initshells()
        return (shells);
 }
 
-# endif ultrix
+# endif /* ultrix */