svn commit: samba r2760 - branches/SAMBA_3_0/source/nsswitch trunk/source/nsswitch

tpot at samba.org tpot at samba.org
Fri Oct 1 02:59:43 GMT 2004


Author: tpot
Date: 2004-10-01 02:59:43 +0000 (Fri, 01 Oct 2004)
New Revision: 2760

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=2760&nolog=1

Log:
Another patch from The Written Word.  Don't declare function prototypes
inside a function.  Bugzilla #1762.

Modified:
   branches/SAMBA_3_0/source/nsswitch/winbind_nss_aix.c
   trunk/source/nsswitch/winbind_nss_aix.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbind_nss_aix.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbind_nss_aix.c	2004-10-01 02:57:10 UTC (rev 2759)
+++ branches/SAMBA_3_0/source/nsswitch/winbind_nss_aix.c	2004-10-01 02:59:43 UTC (rev 2760)
@@ -159,12 +159,13 @@
 	return id;
 }
 
+static struct passwd *wb_aix_getpwuid(uid_t uid);
+
 static char *decode_user(const char *name)
 {
 	struct passwd *pwd;
 	unsigned id;
 	char *ret;
-	static struct passwd *wb_aix_getpwuid(uid_t uid);
 
 	sscanf(name+1, "%u", &id);
 	pwd = wb_aix_getpwuid(id);

Modified: trunk/source/nsswitch/winbind_nss_aix.c
===================================================================
--- trunk/source/nsswitch/winbind_nss_aix.c	2004-10-01 02:57:10 UTC (rev 2759)
+++ trunk/source/nsswitch/winbind_nss_aix.c	2004-10-01 02:59:43 UTC (rev 2760)
@@ -159,12 +159,13 @@
 	return id;
 }
 
+static struct passwd *wb_aix_getpwuid(uid_t uid);
+
 static char *decode_user(const char *name)
 {
 	struct passwd *pwd;
 	unsigned id;
 	char *ret;
-	static struct passwd *wb_aix_getpwuid(uid_t uid);
 
 	sscanf(name+1, "%u", &id);
 	pwd = wb_aix_getpwuid(id);



More information about the samba-cvs mailing list