]> granicus.if.org Git - shadow/commitdiff
Forgot to commit that one.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 1 Jan 2008 14:32:41 +0000 (14:32 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 1 Jan 2008 14:32:41 +0000 (14:32 +0000)
Avoid empty file when USE_PAM is set.

lib/pwauth.c

index 7b44a0ab7475f51bbea59d794b6be9838cf9c8a0..f3d62936b86ad4cc5ddc59c4ee1637769f6f6515 100644 (file)
@@ -207,4 +207,6 @@ pw_auth (const char *cipher, const char *user, int reason, const char *input)
                strzero (clear);
        return retval;
 }
+#else                          /* !USE_PAM */
+extern int errno;              /* warning: ANSI C forbids an empty source file */
 #endif                         /* !USE_PAM */