Fix compiler warnings
authorNeutron Soutmun <neo.neutron@gmail.com>
Tue, 21 Jun 2011 04:08:58 +0000 (11:08 +0700)
committerNeutron Soutmun <neo.neutron@gmail.com>
Tue, 21 Jun 2011 04:08:58 +0000 (11:08 +0700)
commit4b5d05b46785f944e0d4ba506afeb9df499a6aac
tree2a6829face970933bac9186706be60e212a73849
parentcb5371333692435b9818b9043a26980e404202d1
Fix compiler warnings

  * src/rahunasd.c:
    - Declare termstring = "" instead.
  * src/rh-ipset.{h, c}:
    - Declare unsigned variable as unsigned int instead.
  * src/rh-ipset.c (set_ipiphash_adtip):
    - Fix typo which should call set_ipiphash_adtip_nb() instead.
  * src/rh-serviceclass.c, src/rh-task-serviceclass.c:
    - Include string.h to fix the compiler warnings.
  * src/rh-serviceclass.{h,c}:
    - Replace struct main_server and struct serviceclass with RHMainServer and
      RHSvClass respectively.
  * src/rh-task-ipset.c (set_cleanup):
    - Fix wrong type casting.
  * src/rh-task-memset.c (startsess):
    - Fix compiler warnnings on assigning "const char *" to "char *" variable.
  * src/rh-task-serviceclass.c:
    - Fix compiler warnnings on rh_free().
    - Free member->mapping_ip before assign new data.
  * src/Makefile.am:
    - Add src/ipset/*.h headers to makefile which they should included in
      tarball.
src/Makefile.am
src/rahunasd.c
src/rh-ipset.c
src/rh-ipset.h
src/rh-serviceclass.c
src/rh-serviceclass.h
src/rh-task-ipset.c
src/rh-task-memset.c
src/rh-task-serviceclass.c