[tor-commits] [tor/master] Remove the INLINE coding standard

nickm at torproject.org nickm at torproject.org
Tue Dec 15 16:55:55 UTC 2015


commit 816207511b75f775d7dcc383875fa26f64ea98bf
Author: cypherpunks <cypherpunks at torproject.org>
Date:   Thu Dec 10 16:54:52 2015 +0100

    Remove the INLINE coding standard
---
 doc/HACKING/CodingStandards.md |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/doc/HACKING/CodingStandards.md b/doc/HACKING/CodingStandards.md
index d2fc784..bec0765 100644
--- a/doc/HACKING/CodingStandards.md
+++ b/doc/HACKING/CodingStandards.md
@@ -138,9 +138,6 @@ available containers in `src/common/containers*.h`.  You should probably
 familiarize yourself with these modules before you write too much code, or
 else you'll wind up reinventing the wheel.
 
-Use `INLINE` instead of `inline` -- it's a vestige of an old hack to make
-sure that we worked on MSVC6.
-
 We don't use `strcat` or `strcpy` or `sprintf` of any of those notoriously broken
 old C functions.  Use `strlcat`, `strlcpy`, or `tor_snprintf/tor_asprintf` instead.
 





More information about the tor-commits mailing list