diff options
author | Joachim Nilsson <troglobit@gmail.com> | 2019-10-23 17:52:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-23 17:52:08 +0200 |
commit | c914ca19fa95506f060d8adc0b98dc57a498e3ab (patch) | |
tree | 70abd6c0a53b29db22cf232f81b9c6eebcf0c0a0 | |
parent | 1ec087c22bab835a2302e0d7a8dabcc74dac6396 (diff) | |
parent | 7b2c8518fa3813748050658cb1dc7b75ad515755 (diff) | |
download | libnet-c914ca19fa95506f060d8adc0b98dc57a498e3ab.tar.gz |
Merge pull request #99 from ThomasHabets/cstyle
Fix C89 syntax error, and document C89 being the style
-rw-r--r-- | doc/HACKING.md | 1 | ||||
-rw-r--r-- | include/libnet.h.in | 2 |
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> |