From 80ac8c6d04c04ec1f892883397507f32292ae590 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 6 May 2009 09:42:48 -0700 Subject: Ansify prototypes and move extern declarations to header files Signed-off-by: Alan Coopersmith --- scope.h | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) (limited to 'scope.h') diff --git a/scope.h b/scope.h index 8284d70..7a1f97e 100644 --- a/scope.h +++ b/scope.h @@ -56,6 +56,8 @@ #include #include #include +#include +#include #include #ifdef SVR4 #include @@ -94,23 +96,9 @@ extern char *ScopeHost; extern int Interrupt, SingleStep, BreakPoint; -extern void ReadCommands (); - extern char ServerHostName[MAXHOSTNAMELEN]; extern char AudioServerHostName[MAXHOSTNAMELEN]; -/* external function type declarations */ - -extern void *Malloc (long n); -#ifdef X_NOT_STDC_ENV -extern char *strcpy(); -extern char *sprintf(); -#else -#include -#include -#endif -extern char *ClientName(); - /* ********************************************** */ /* */ /* ********************************************** */ @@ -125,7 +113,7 @@ struct fdinfo Boolean Server; long ClientNumber; FD pair; - char buffer[BUFFER_SIZE]; + unsigned char buffer[BUFFER_SIZE]; int bufcount; int bufstart; int buflimit; /* limited writes */ @@ -134,3 +122,11 @@ struct fdinfo }; extern struct fdinfo FDinfo[StaticMaxFD]; +extern int littleEndian; +extern char HandleSIGUSR1; +extern char Leader[]; +extern long ServerBasePort; +extern char ScopeEnabled; +extern long TranslateText; + + -- cgit v1.2.1