]> git.proxmox.com Git - mirror_frr.git/commit - lib/prefix.h
2005-05-06 Paul Jakma <paul@dishone.st>
authorpaul <paul>
Fri, 6 May 2005 21:25:49 +0000 (21:25 +0000)
committerpaul <paul>
Fri, 6 May 2005 21:25:49 +0000 (21:25 +0000)
commit8cc4198f9fabe5f10f5a773de1503d82f33a01fb
tree77045da709ff66629bd12029b9ee17700360909b
parente7fe8c88c3d552400e1ae3ae9243319ab95d6f2d
2005-05-06 Paul Jakma <paul@dishone.st>

* (general) extern and static'ification of functions in code and
  header.
  Cleanup any definitions with unspecified arguments.
  Add casts for callback assignments where the callback is defined,
  typically, as passing void *, but the function being assigned has
  some other pointer type defined as its argument, as gcc complains
  about casts from void * to X* via function arguments.
  Fix some old K&R style function argument definitions.
  Add noreturn gcc attribute to some functions, as appropriate.
  Add unused gcc attribute to some functions (eg ones meant to help
  while debugging)
  Add guard defines to headers which were missing them.
* command.c: (install_node) add const qualifier, still doesnt shut
  up the warning though, because of the double pointer.
  (cmp_node) ditto
* keychain.c: (key_str2time) Add GET_LONG_RANGE() macro, derived
  fromn vty.h ones to fix some of the (long) < 0 warnings.
* thread.c: (various) use thread_empty
  (cpu_record_hash_key) should cast to uintptr_t, a stdint.h type
* vty.h: Add VTY_GET_IPV4_ADDRESS and VTY_GET_IPV4_PREFIX so they
  removed from ospfd/ospf_vty.h
* zebra.h: Move definition of ZEBRA_PORT to here, to remove
  dependence of lib on zebra/zserv.h
53 files changed:
lib/ChangeLog
lib/buffer.h
lib/checksum.c
lib/command.c
lib/command.h
lib/distribute.c
lib/distribute.h
lib/filter.c
lib/filter.h
lib/getopt.h
lib/hash.c
lib/hash.h
lib/if.c
lib/if.h
lib/if_rmap.c
lib/if_rmap.h
lib/jhash.h
lib/keychain.c
lib/keychain.h
lib/linklist.c
lib/linklist.h
lib/log.h
lib/md5.c
lib/memory.c
lib/memory.h
lib/network.h
lib/plist.c
lib/plist.h
lib/pqueue.c
lib/pqueue.h
lib/prefix.c
lib/prefix.h
lib/privs.h
lib/routemap.c
lib/routemap.h
lib/sigevent.c
lib/sigevent.h
lib/smux.h
lib/sockopt.h
lib/sockunion.c
lib/sockunion.h
lib/str.h
lib/stream.h
lib/table.c
lib/table.h
lib/thread.c
lib/thread.h
lib/vector.h
lib/vty.h
lib/workqueue.h
lib/zclient.c
lib/zclient.h
lib/zebra.h