Sfoglia il codice sorgente

Remove the INLINE coding standard

cypherpunks 10 anni fa
parent
commit
816207511b
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      doc/HACKING/CodingStandards.md

+ 0 - 3
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
 familiarize yourself with these modules before you write too much code, or
 else you'll wind up reinventing the wheel.
 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
 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.
 old C functions.  Use `strlcat`, `strlcpy`, or `tor_snprintf/tor_asprintf` instead.