summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Habets <habets@google.com>2019-10-22 12:37:04 +0100
committerThomas Habets <habets@google.com>2019-10-22 12:37:49 +0100
commit7b2c8518fa3813748050658cb1dc7b75ad515755 (patch)
tree0889b5e21d06911233d3efe6b6675a937625da85
parent18272df968235771fd2221a1a0e6d59d4421db23 (diff)
downloadlibnet-7b2c8518fa3813748050658cb1dc7b75ad515755.tar.gz
Fix C89 syntax error, and document C89 being the style
-rw-r--r--doc/HACKING.md1
-rw-r--r--include/libnet.h.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/doc/HACKING.md b/doc/HACKING.md
index d340f2f..b687613 100644
--- a/doc/HACKING.md
+++ b/doc/HACKING.md
@@ -8,6 +8,7 @@ Maintenance
* Reference issues from GitHub pull requests to alert issue subscribers
* Use version in `configure.ac` for -betaN/-rcN and GA releases
* Bump ABI version in `src/Makefile.am` just before release! (see below)
+* Coding style is C89 keeping consistent brace and indentation style.
Release Checklist
diff --git a/include/libnet.h.in b/include/libnet.h.in
index 357b794..5fe2ebf 100644
--- a/include/libnet.h.in
+++ b/include/libnet.h.in
@@ -49,7 +49,7 @@ extern "C" {
* TODO move the stuff we ALWAYS need out of the DOXYGEN ifndef block
* and minimize their redundancies (see doc/TODO)
*/
-#ifndef DOXYGEN_SHOULD_SKIP_THIS // mess
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
#include <stdio.h>
#include <string.h>
#include <fcntl.h>