Mercurial > hg > xemacs-beta
diff src/extw-Xt.c @ 2110:f18c80177dfe
[xemacs-hg @ 2004-06-03 10:10:45 by didierv]
EXTERN_C fixes
author | didierv |
---|---|
date | Thu, 03 Jun 2004 10:10:46 +0000 |
parents | 8de911beca70 |
children | 2e4be8dd02fc |
line wrap: on
line diff
--- a/src/extw-Xt.c Wed Jun 02 21:50:49 2004 +0000 +++ b/src/extw-Xt.c Thu Jun 03 10:10:46 2004 +0000 @@ -28,10 +28,7 @@ ERROR! This ought not be getting compiled if EXTERNAL_WIDGET is undefined #endif -EXTERN_C -{ -void fatal (const char *fmt, ...); -} +EXTERN_C void fatal (const char *fmt, ...); #else /* not emacs */ static void fatal (char *msg); #endif @@ -48,16 +45,14 @@ for real? */ #if (XT_REVISION > 5) -EXTERN_C -{ - int _XtWaitForSomething (XtAppContext app, _XtBoolean ignoreEvents, - _XtBoolean ignoreTimers, _XtBoolean ignoreInputs, - _XtBoolean ignoreSignals, _XtBoolean block, +EXTERN_C int +_XtWaitForSomething (XtAppContext app, _XtBoolean ignoreEvents, + _XtBoolean ignoreTimers, _XtBoolean ignoreInputs, + _XtBoolean ignoreSignals, _XtBoolean block, #ifdef XTHREADS - _XtBoolean drop_lock, + _XtBoolean drop_lock, #endif - unsigned long *howlong); -} + unsigned long *howlong); # ifndef XTHREADS # define _XT_WAIT_FOR_SOMETHING(timers,inputs,events,block,howlong,appCtx) \ @@ -67,12 +62,10 @@ _XtWaitForSomething (appCtx,events,timers,inputs,0,block,1,howlong) # endif #else -EXTERN_C -{ - int _XtwaitForSomething (Boolean ignoreTimers, Boolean ignoreInputs, - Boolean ignoreEvents, Boolean block, - unsigned long *howlong, XtAppContext app); -} +EXTERN_C int +_XtwaitForSomething (Boolean ignoreTimers, Boolean ignoreInputs, + Boolean ignoreEvents, Boolean block, + unsigned long *howlong, XtAppContext app); #endif #ifdef DEBUG_WIDGET