[hipl-commit] [trunk] Rev 4719: heartbeat_update: mark an unused parameter as such.

  • From: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Tue, 8 Jun 2010 23:15:28 +0300

Committer: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
Date: 08/06/2010 at 23:15:28
Revision: 4719
Revision-id: mircea.gherzan@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  heartbeat_update: mark an unused parameter as such.

Modified:
  M  modules/heartbeat_update/hipd/hb_update.c

=== modified file 'modules/heartbeat_update/hipd/hb_update.c'
--- modules/heartbeat_update/hipd/hb_update.c   2010-03-31 14:59:32 +0000
+++ modules/heartbeat_update/hipd/hb_update.c   2010-06-08 20:13:43 +0000
@@ -17,11 +17,12 @@
 
 #include "hb_update.h"
 #include "hipd/maintenance.h"
+#include "lib/core/common_defines.h"
 #include "modules/update/hipd/update.h"
 
 static const int hip_heartbeat_trigger_update_threshold = 5;
 
-static int hip_hb_update_trigger(hip_ha_t *hadb_entry, void *unused)
+static int hip_hb_update_trigger(hip_ha_t *hadb_entry, UNUSED void *opaque)
 {
     int err                                     = 0;
     uint8_t *heartbeat_counter                  = NULL;

Other related posts:

  • » [hipl-commit] [trunk] Rev 4719: heartbeat_update: mark an unused parameter as such. - Mircea Gherzan