From 5fc5b09278aaef31c3001086ce9063ca705b68ac Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Tue, 26 Feb 2008 13:26:50 -0300 Subject: [PATCH] Move extern declarations to globals.h --- src/getauth.c | 4 +--- src/globals.h | 5 +++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/getauth.c b/src/getauth.c index d7b1648..5bae90b 100644 --- a/src/getauth.c +++ b/src/getauth.c @@ -34,13 +34,11 @@ Author: Ralph Mor, X Consortium #include #include "ICElibint.h" #include +#include "globals.h" static Bool auth_valid (const char *auth_name, int num_auth_names, char **auth_names, int *index_ret); -extern int _IcePaAuthDataEntryCount; -extern IceAuthDataEntry _IcePaAuthDataEntries[]; - /* * The functions in this file are not a standard part of ICElib. diff --git a/src/globals.h b/src/globals.h index 7482b95..f151d24 100644 --- a/src/globals.h +++ b/src/globals.h @@ -32,6 +32,7 @@ Author: Ralph Mor, X Consortium #define _ICEGLOBALS_H_ #include +#include extern void _IceDefaultErrorHandler ( IceConn /* iceConn */, @@ -80,4 +81,8 @@ extern void _IceProcessCoreMessage ( Bool * /* connectionClosedRet */ ); + +extern int _IcePaAuthDataEntryCount; +extern IceAuthDataEntry _IcePaAuthDataEntries[]; + #endif /* _ICEGLOBALS_H_ */ -- 1.5.3.5