summaryrefslogtreecommitdiffstats
path: root/zebra/misc_null.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixing declarations to eliminate compiler warnings in zebra.Chris Hall2010-04-171-1/+15
| | | | | | | | | | | Only parts of zebra/*.c are compiled and linked, depending on what was chosen at "configure" time. A subset of that is compiled and linked for testzebra. Some things were not declared, or not declared everywhere they were required... leading to a number of compiler warnings. These changes are intended to tidy that up.
* Put back some Quagga additions to getopt.c etc.Chris Hall2010-04-171-2/+1
| | | | | | | | Also, backed out a small change in zebra/misc_null.c, which removed a warning, but on reflection may be using deep magic which is not fully understood (by me, anyway). zebra appears to have a number of definitions for the same function, and how that is all linked is not obvious (to me, anyway).
* Removing compiler warnings.Chris Hall2010-04-161-3/+5
| | | | | | | | Removed nearly 100 compiler warnings in the various routing daemons which now clean compile. Removed one warning in vty.c, which was obscured by the other warnings. SO... this commit corrects the previous one.
* [zebra] add more stuff to misc_null to avoid compile breakagesPaul Jakma2006-08-041-0/+2
| | | | | | | 2006-08-04 Paul Jakma <paul.jakma@sun.com> * misc_null.c: Add ifstat_update_sysctl, add another required header.
* [testzebra] Patch to misc_null.c to get older gcc to recognize #pragma tricksAndrew J. Schorr2006-08-021-0/+5
| | | | | | | 2006-08-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu> * misc_null.c: Must include header files to get older versions of gcc to process the #pragma statements properly.
* [zebra] Add test rig code, for testing the zebra RIBPaul Jakma2006-07-271-0/+4
2006-07-27 Paul Jakma <paul.jakma@sun.com> * {ioctl,kernel}_null.c: Dummy/Null kernel method implementations, useful for testing zebra code that calls such methods. * {redistribute,misc}_null.c: Dummy/Null methods, as above. But for zclient, and for various misc functions. * test_main.c: Test harness for zebra, currently just to test the RIB. * Makefile.am: Build testzebra using above. * zebra_rib.c: Add a global for the workqueue hold time, useful for testing.