dgaudet 97/06/30 14:03:19
Modified: src buff.c conf.h Log: I want to be able to use inline, especially for some of the cleanups where we're factoring out common code. Revision Changes Path 1.34 +0 -6 apache/src/buff.c Index: buff.c =================================================================== RCS file: /export/home/cvs/apache/src/buff.c,v retrieving revision 1.33 retrieving revision 1.34 diff -C3 -r1.33 -r1.34 *** buff.c 1997/06/30 20:28:50 1.33 --- buff.c 1997/06/30 21:03:16 1.34 *************** *** 190,201 **** #endif /* WIN32 */ - - /* these are wrappers to make code below more readable */ - #if !defined (__GNUC__) - #define inline - #endif - static inline int buff_read (BUFF *fb, void *buf, int nbyte) { int rv; --- 190,195 ---- 1.108 +5 -0 apache/src/conf.h Index: conf.h =================================================================== RCS file: /export/home/cvs/apache/src/conf.h,v retrieving revision 1.107 retrieving revision 1.108 diff -C3 -r1.107 -r1.108 *** conf.h 1997/06/29 19:27:20 1.107 --- conf.h 1997/06/30 21:03:17 1.108 *************** *** 738,743 **** --- 738,748 ---- #define ap_select select #endif + /* so that we can use inline on some critical functions */ + #if !defined(__GNUC__) + #define inline + #endif + /* Finding offsets of elements within structures. * Taken from the X code... they've sweated portability of this stuff * so we don't have to. Sigh...