diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-02-11 16:39:50 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-02-11 18:12:24 -0500 |
commit | 607fee7e4f751d6ac6a33af17c546e8095aa902f (patch) | |
tree | e93630af8df3fb97c4f25d4dcd38a8f1541bab68 /www | |
parent | 00afced3122a19db663fe0a88e9c4c1853dff14e (diff) | |
download | gpsd-607fee7e4f751d6ac6a33af17c546e8095aa902f.tar.gz |
Style amwendment suggested by Geg Troxel.
Diffstat (limited to 'www')
-rw-r--r-- | www/hacking.html.in | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/www/hacking.html.in b/www/hacking.html.in index 4f322691..14fb6800 100644 --- a/www/hacking.html.in +++ b/www/hacking.html.in @@ -491,8 +491,11 @@ arrays, type-generic math, or type complex. Think carefully before introducing these and don't do it without discussion on the development list first.</p> -<p>Avoid dependencies on GCC and glibc, as we must support embedded -environments using (for example) uClibc.</p> +<p>Do not use GCC extensions, as the code should compile with any sane +C99 compiler (specifically including clang). Do not use +glibc-specific features, as <code>gpsd</code> is portable to multiple +operating systems that do not use glibc, including BSD's libc and +uClibc. Instead, rely on what POSIX guarantees.</p> <p>We are pretty laissez-faire about indent style and low-level C formatting. Be aware that if your patch seems disharmonious with what |