From: cypherpunks Date: Thu, 10 Dec 2015 15:54:52 +0000 (+0100) Subject: Remove the INLINE coding standard X-Git-Tag: tor-0.2.8.1-alpha~146 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=816207511b75f775d7dcc383875fa26f64ea98bf;p=thirdparty%2Ftor.git Remove the INLINE coding standard --- diff --git a/doc/HACKING/CodingStandards.md b/doc/HACKING/CodingStandards.md index d2fc784efb..bec076527f 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.