[sr-dev] git:master: core: fix another bunch of 'no real prototype' warnings, add doxygen docs

Henning Westerholt henning.westerholt at 1und1.de
Wed Jun 29 22:19:07 CEST 2011


Module: sip-router
Branch: master
Commit: 03a4b6fc64dd2abda540bc16ff37904984725f62
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=03a4b6fc64dd2abda540bc16ff37904984725f62

Author: Henning Westerholt <henning.westerholt at 1und1.de>
Committer: Henning Westerholt <henning.westerholt at 1und1.de>
Date:   Wed Jun 29 22:12:28 2011 +0200

core: fix another bunch of 'no real prototype' warnings, add doxygen docs

* fix another bunch of gcc 4.5 'no real prototype' warnings by making the MD5
  functions typesafe (removing this PROTO_LIST stuff)
* refactoring of function definitions to use a proper style, like everybody else
* remove not needed defines for datatypes, delete the then empty header completely
* remove the unneeded include of md5global.h from a few modules
* fix callers of MD5 utility functions which already use a proper type
* adapt format of RSA copyright notices to the common style as well
* add doxygen documentations to all functions and defines
* similar changes have been done in kamailio, but have been not ported to this
  repository yet

---

 lib/kcore/strcommon.c         |    2 +-
 md5.c                         |   83 ++++++++++++++---------------------
 md5.h                         |   42 ++++++++++++++---
 md5global.h                   |   38 ----------------
 md5utils.c                    |   99 +++++++++++++++--------------------------
 md5utils.h                    |   19 +++++++-
 modules/auth/nonce.c          |   11 ++---
 modules/auth/rfc2617.c        |    1 -
 modules/topoh/th_mask.c       |    2 +-
 modules_k/cfgutils/cfgutils.c |    4 +-
 modules_s/uac/auth_alg.c      |    1 -
 11 files changed, 128 insertions(+), 174 deletions(-)

Diff:   http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=03a4b6fc64dd2abda540bc16ff37904984725f62



More information about the sr-dev mailing list