[hipl-commit] [trunk] Rev 4633: lib: debug: mark unused parameters as such.

  • From: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Sun, 30 May 2010 22:17:32 +0300

Committer: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
Date: 30/05/2010 at 22:17:32
Revision: 4633
Revision-id: mircea.gherzan@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  lib: debug: mark unused parameters as such.

Modified:
  M  lib/core/debug.c

=== modified file 'lib/core/debug.c'
--- lib/core/debug.c    2010-05-30 18:10:17 +0000
+++ lib/core/debug.c    2010-05-30 19:17:02 +0000
@@ -645,8 +645,9 @@
  * HIP_DEBUG_SOCKADDR macro instead.
  * @note Currently this function supports only INET and INET6 addresses.
  */
-void hip_print_sockaddr(UNUSED const char *file, int line, const char 
*function,
-                        const char *prefix, const struct sockaddr *sockaddr)
+void hip_print_sockaddr(UNUSED const char *file, UNUSED int line,
+                        UNUSED const char *function, const char *prefix,
+                        const struct sockaddr *sockaddr)
 {
     const char *default_str = "<unknown>";
     int maxlen;
@@ -804,7 +805,8 @@
  * @param str string to be printed before the HIT
  * @param hit the HIT to be printed
  */
-void hip_print_locator(int debug_level, const char *file, int line, const char 
*function,
+void hip_print_locator(UNUSED int debug_level, UNUSED const char *file,
+                       UNUSED int line, UNUSED const char *function,
                        const char *str, const struct hip_locator *locator)
 {
 /* XXTRASHXX Totally useless does anything but what it is supposed to do -SAMU 
*/

Other related posts:

  • » [hipl-commit] [trunk] Rev 4633: lib: debug: mark unused parameters as such. - Mircea Gherzan