]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/compat/getusershell.c
Log message was using wrong variable
[netatalk.git] / libatalk / compat / getusershell.c
index bd79d4fb04ae63797bdc653c103c261c003c7cda..481978b9f42f67f8f5897623c9bd62ba66810196 100644 (file)
@@ -1,4 +1,5 @@
 /*
+ *
  * Copyright (c) 1985 Regents of the University of California.
  * All rights reserved.
  *
  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#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>
@@ -40,7 +43,7 @@ static char *okshells[] = {
     "/bin/sh", "/bin/csh",
 #ifdef _IBMR2
     "/bin/ksh",
-#endif _IBMR2
+#endif /* _IBMR2 */
     0
 };
 
@@ -130,4 +133,4 @@ initshells()
        return (shells);
 }
 
-# endif ultrix
+# endif /* ultrix */