]> git.proxmox.com Git - mirror_frr.git/blobdiff - babeld/neighbour.c
*: Convert zapi->interface_delete to ifp callback
[mirror_frr.git] / babeld / neighbour.c
index 512b60e29a11491818dabfaf249ccf8b345cccb5..d962a0961c9299c0a4c66c94c6458dc3d69ec2dc 100644 (file)
@@ -94,7 +94,7 @@ find_neighbour(const unsigned char *address, struct interface *ifp)
 
     neigh = malloc(sizeof(struct neighbour));
     if(neigh == NULL) {
-        flog_err(BABEL_ERR_MEMORY, "malloc(neighbour): %s",
+        flog_err(EC_BABEL_MEMORY, "malloc(neighbour): %s",
                  safe_strerror(errno));
         return NULL;
     }
@@ -234,7 +234,7 @@ neighbour_txcost(struct neighbour *neigh)
 }
 
 unsigned
-check_neighbours()
+check_neighbours(void)
 {
     struct neighbour *neigh;
     int changed, rc;