--- ./unix/Utility.c Mon Sep 30 17:00:00 1996 +++ ../chktex/./unix/Utility.c Sun Dec 3 11:36:06 2000 @@ -416,7 +416,10 @@ * duplicate the string yourself. */ -inline void InsertHash(const STRPTR a, struct Hash *h) +#ifndef __sgi +inline +#endif +void InsertHash(const STRPTR a, struct Hash *h) { struct HashEntry **he, *newhe; @@ -443,7 +446,10 @@ * hash index. */ -inline STRPTR HasHash(const STRPTR a, const struct Hash *h) +#ifndef __sgi +inline +#endif +STRPTR HasHash(const STRPTR a, const struct Hash *h) { struct HashEntry *he; HASH_TYPE i; /* Special magic to optimize SAS/C */ @@ -613,7 +619,10 @@ * */ -inline APTR StkPop(struct Stack *Stack) +#ifndef __sgi +inline +#endif +APTR StkPop(struct Stack *Stack) { APTR Retval = NULL; @@ -648,7 +657,10 @@ * Returns the topmost element of the stack. */ -inline APTR StkTop(struct Stack *Stack) +#ifndef __sgi +inline +#endif +APTR StkTop(struct Stack *Stack) { if(Stack && (Stack->Used > 0)) return(Stack->Data[Stack->Used - 1]); --- ./unix/Utility.h Mon Sep 30 17:00:00 1996 +++ ../chktex/./unix/Utility.h Sun Dec 3 11:33:59 2000 @@ -110,11 +110,20 @@ STRPTR strdupx __PROTO((const STRPTR String, int Extra)); void strmove __PROTO((char *a, const char *b)); -inline void +#ifndef __sgi +inline +#endif +void ClearHash __PROTO((struct Hash *h)); -inline void +#ifndef __sgi +inline +#endif +void InsertHash __PROTO((const STRPTR a, struct Hash *h)); -inline STRPTR +#ifndef __sgi +inline +#endif +STRPTR HasHash __PROTO((const STRPTR a, const struct Hash *h)); BOOL InsertWord __PROTO((const STRPTR Word, struct WordList *WL)); @@ -125,9 +134,15 @@ void ClearWord __PROTO((struct WordList *WL)); BOOL StkPush __PROTO((const APTR Data, struct Stack *Stack)); -inline APTR +#ifndef __sgi +inline +#endif +APTR StkPop __PROTO((struct Stack *Stack)); -inline APTR +#ifndef __sgi +inline +#endif +APTR StkTop __PROTO((struct Stack *Stack)); FILE * CurStkFile __PROTO((struct Stack *stack));