* libmisc/limits.c, libmisc/obscure.c, src/login_nopam.c,

lib/pwauth.c: Avoid empty file when USE_PAM is set.
* src/login_nopam.c: Fix warnings: resolve_hostname takes and
  returns a constant string.
This commit is contained in:
nekral-guest
2008-01-01 14:18:55 +00:00
parent 0dccafcd23
commit bca732693b
4 changed files with 15 additions and 2 deletions

View File

@@ -289,4 +289,6 @@ int obscure (const char *old, const char *new, const struct passwd *pwdp)
return 1;
}
#else /* !USE_PAM */
extern int errno; /* warning: ANSI C forbids an empty source file */
#endif /* !USE_PAM */