Commit Graph

7 Commits

Author SHA1 Message Date
David Lamparter
7a2fbbf0ee *: make sure zebra.h is always included first
zebra.h pulls in config.h, which results in fiddling with things like
__FILE_OFFSET_BITS. It must always be included first, in order to set
flags that influence the compiler via <features.h>.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 821df2cf18e5978cc7ab532a8695444380d08270)
2016-06-09 10:45:22 -04:00
David Lamparter
bfac306056 isisd: don't use POSIX reserved y1/yn names
y1 and yn are POSIX standard names for Bessel functions.  For
consistency, just rename all of these variables from "y" to "yy".

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2016-06-07 09:00:37 -04:00
Donald Sharp
91283e7641 isisd: isisd-warnings.patch
Remove compile warnings for the isisd directory
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by:
2015-05-19 18:29:15 -07:00
Paul Jakma
41b36e9013 [isisd] Fix compiler warnings and allow v4-only compilation
2006-12-08 Hannes Gredler <hannes@gredler.at>

	* isis_adjacency.c: (isis_new_adj) Allow NULL snpa argument.
	* isis_pdu.c: (various) Update calls to isis_new_adj() to pass
	  NULL and use default.
	* (general) Add forward declarations where required.
	  Fix up const char *'s.
	  Allow V4-only compilation.
2006-12-08 01:09:50 +00:00
hasso
29e50b2353 * random.c, spgrid.[ch]: Fix warnings with hope that I didn't broke
anything. These floats to longs and vice versa casts are starnge
	  indeed.
	* isis_pdu.c: As we don't use %z for size_t for now because we support
	  older compilers, cast them to unsigned long.

	Also fix previous changelog entry. Isisd compiles cleanly now again.
2005-09-01 18:18:47 +00:00
hasso
6204c7fb9e * topology/spgrid.c: MAXLONG is deprecated, use LONG_MAX instead.
values.h, where MAXLONG is defined, is deprecated as well.

	Thanks to Greg for noticing and to Rivo for fix.
2005-08-10 15:08:21 +00:00
jardin
eb5d44eb8d Initial revision 2003-12-23 08:09:43 +00:00