diff options
author | Tim Potter <tpot@samba.org> | 2004-10-01 02:59:43 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:51 -0500 |
commit | 301513531493cd0f14571df96d1eaeac53eee237 (patch) | |
tree | f4c2e2fea588192e035f4ac1215a2c042ff848e9 | |
parent | 02c9b46fab46ab401a3cf6bb74c8260801c41032 (diff) | |
download | samba-301513531493cd0f14571df96d1eaeac53eee237.tar.gz samba-301513531493cd0f14571df96d1eaeac53eee237.tar.bz2 samba-301513531493cd0f14571df96d1eaeac53eee237.zip |
r2760: Another patch from The Written Word. Don't declare function prototypes
inside a function. Bugzilla #1762.
(This used to be commit 002cdd4a5b34611983a32018248f9fe122c4111a)
-rw-r--r-- | source3/nsswitch/winbind_nss_aix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/nsswitch/winbind_nss_aix.c b/source3/nsswitch/winbind_nss_aix.c index a1bffccc66..c90dc2f3f1 100644 --- a/source3/nsswitch/winbind_nss_aix.c +++ b/source3/nsswitch/winbind_nss_aix.c @@ -159,12 +159,13 @@ static unsigned decode_id(const char *name) 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); |