From 301513531493cd0f14571df96d1eaeac53eee237 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 1 Oct 2004 02:59:43 +0000 Subject: r2760: Another patch from The Written Word. Don't declare function prototypes inside a function. Bugzilla #1762. (This used to be commit 002cdd4a5b34611983a32018248f9fe122c4111a) --- source3/nsswitch/winbind_nss_aix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/nsswitch') 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); -- cgit