use ansi c declarations

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15435 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-06-16 19:45:52 +00:00
parent bf6767ab53
commit 7988a94231
7 changed files with 9 additions and 9 deletions

View File

@@ -11,7 +11,7 @@ if test "$ac_cv_func_getpwnam_r" = yes; then
AC_RUN_IFELSE([AC_LANG_SOURCE([[
#define _POSIX_PTHREAD_SEMANTICS
#include <pwd.h>
int main()
int main(int argc, char **argv)
{
struct passwd pw, *pwd;
return getpwnam_r("", &pw, NULL, 0, &pwd) < 0;