]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Remove obsolete INLINE preprocessor definition
authorcypherpunks <cypherpunks@torproject.org>
Thu, 10 Dec 2015 15:26:04 +0000 (16:26 +0100)
committerNick Mathewson <nickm@torproject.org>
Tue, 15 Dec 2015 16:34:00 +0000 (11:34 -0500)
The INLINE keyword is not used anymore in favor of inline.

Windows only supports __inline so an inline preprocessor definition is
still needed.

src/common/compat.h

index edc41eb37464110e6bd8b2acfae6a11097e1dabe..fb177832af3d1d529d83b21bcdf9464ab69a4890 100644 (file)
@@ -75,9 +75,7 @@
 
 /* inline is __inline on windows. */
 #ifdef _WIN32
-#define INLINE __inline
-#else
-#define INLINE inline
+#define inline __inline
 #endif
 
 /* Try to get a reasonable __func__ substitute in place. */