frr/ospfclient
David Lamparter bf8d3d6aca *: require semicolon after DEFINE_MTYPE & co
Back when I put this together in 2015, ISO C11 was still reasonably new
and we couldn't require it just yet.  Without ISO C11, there is no
"good" way (only bad hacks) to require a semicolon after a macro that
ends with a function definition.  And if you added one anyway, you'd get
"spurious semicolon" warnings on some compilers...

With C11, `_Static_assert()` at the end of a macro will make it so that
the semicolon is properly required, consumed, and not warned about.

Consistently requiring semicolons after "file-level" macros matches
Linux kernel coding style and helps some editors against mis-syntax'ing
these macros.

Signed-off-by: David Lamparter <equinox@diac24.net>
2021-03-17 06:18:17 +01:00
..
.gitignore *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
AUTHORS Addition of OSPF-API - Amir Guindehi <nospam.amir@datacore.ch> 2003-03-17 01:10:58 +00:00
COPYING *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
INSTALL Addition of OSPF-API - Amir Guindehi <nospam.amir@datacore.ch> 2003-03-17 01:10:58 +00:00
Makefile build: non-recursive ospf* 2017-08-04 11:09:50 +02:00
NEWS Addition of OSPF-API - Amir Guindehi <nospam.amir@datacore.ch> 2003-03-17 01:10:58 +00:00
ospf_apiclient.c *: require semicolon after DEFINE_MTYPE & co 2021-03-17 06:18:17 +01:00
ospf_apiclient.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ospfclient.c ospfclient: replace inet_ntoa 2020-10-22 13:41:51 -04:00
README Addition of OSPF-API - Amir Guindehi <nospam.amir@datacore.ch> 2003-03-17 01:10:58 +00:00
subdir.am ospfclient: don't install man page 2020-01-15 14:05:11 +01:00

For more information about this software check out:

http://www.tik.ee.ethz.ch/~keller/ospfapi/