Fix build with gcc 3.4

This commit is contained in:
Tilman Keskinoz 2004-08-15 16:03:41 +00:00
parent e9f7e2b6ed
commit e0ee1c46d6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116271

View file

@ -1,5 +1,5 @@
--- su2.c.orig Sun Mar 2 20:17:16 1997 --- su2.c.orig Sun Aug 15 17:59:03 2004
+++ su2.c Sun Mar 2 20:21:41 1997 +++ su2.c Sun Aug 15 18:00:37 2004
@@ -113,9 +113,9 @@ @@ -113,9 +113,9 @@
#ifndef NOSU2RC #ifndef NOSU2RC
char *UsersNameFile = ".su2rc"; char *UsersNameFile = ".su2rc";
@ -12,7 +12,7 @@
#ifndef PATH #ifndef PATH
# ifdef BSD # ifdef BSD
@@ -182,13 +182,15 @@ @@ -182,17 +182,18 @@
char *malloc (); char *malloc ();
@ -30,7 +30,11 @@
struct passwd *getpwuid (); struct passwd *getpwuid ();
struct passwd *getpwnam (); struct passwd *getpwnam ();
void endpwent (); void endpwent ();
@@ -570,7 +572,7 @@ -int chmod ();
#endif
struct passwd *pw;
@@ -570,7 +571,7 @@
} }
} }