[hipl-commit] [trunk] Rev 3556: fixed more compiler warnings, some still remain

  • From: Rene Hummen <rene.hummen@xxxxxxxxxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Mon, 8 Feb 2010 20:26:33 +0200

Committer: Rene Hummen <rene.hummen@xxxxxxxxxxxxxxxxx>
Date: Mon Feb 08 19:26:18 2010 +0100
Revision: 3556
Revision-id: rene.hummen@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  fixed more compiler warnings, some still remain

Modified:
  M  hipd/oppdb.c
  M  hipd/oppipdb.c
  M  hipd/oppipdb.h

=== modified file 'hipd/oppdb.c'
--- hipd/oppdb.c        2010-02-08 17:49:13 +0000
+++ hipd/oppdb.c        2010-02-08 18:26:18 +0000
@@ -459,7 +459,7 @@
        goto out_err;
 
       HIP_DEBUG("No entry found. Adding new map.\n");
-      hip_oppipdb_del_entry_by_entry(oppip_entry, NULL);
+      hip_oppipdb_del_entry_by_entry(oppip_entry);
     }
   
   /* No previous contact, new host. Let's do the opportunistic magic */

=== modified file 'hipd/oppipdb.c'
--- hipd/oppipdb.c      2010-02-08 17:56:56 +0000
+++ hipd/oppipdb.c      2010-02-08 18:26:18 +0000
@@ -102,7 +102,7 @@
  *
  * @param entry: pointer to the entry to delete
  */
-void hip_oppipdb_del_entry_by_entry(hip_oppip_t *entry, void *not_used)
+void hip_oppipdb_del_entry_by_entry(hip_oppip_t *entry)
 {
 
        HIP_LOCK_OPPIP(entry);

=== modified file 'hipd/oppipdb.h'
--- hipd/oppipdb.h      2010-02-08 15:18:06 +0000
+++ hipd/oppipdb.h      2010-02-08 18:26:18 +0000
@@ -16,7 +16,7 @@
 typedef struct in6_addr hip_oppip_t;
 
 int hip_for_each_oppip(void (*func)(hip_oppip_t *entry, void *opaq), void 
*opaque);
-void hip_oppipdb_del_entry_by_entry(hip_oppip_t *entry, void *not_used);
+void hip_oppipdb_del_entry_by_entry(hip_oppip_t *entry);
 int hip_oppipdb_add_entry(const struct in6_addr *ip_peer);
 int hip_init_oppip_db(void);
 hip_oppip_t *hip_oppipdb_find_byip(const struct in6_addr *ip_peer);

Other related posts:

  • » [hipl-commit] [trunk] Rev 3556: fixed more compiler warnings, some still remain - Rene Hummen