* 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

@ -441,4 +441,6 @@ void setup_limits (const struct passwd *info)
}
}
#else /* !USE_PAM */
extern int errno; /* warning: ANSI C forbids an empty source file */
#endif /* !USE_PAM */