]> jfr.im git - solanum.git/blobdiff - include/match.h
Move away from BSD data types
[solanum.git] / include / match.h
index c49e12e9fc55460206843e7e231a2400dc110bab..151ad4bf669527ad734d6affbddf5dba172f591d 100644 (file)
@@ -46,8 +46,8 @@ extern int match_ips(const char *mask, const char *name);
 /*
  * comp_with_mask - compares to IP address
  */
-int comp_with_mask(void *addr, void *dest, u_int mask);
-int comp_with_mask_sock(struct sockaddr *addr, struct sockaddr *dest, u_int mask);
+int comp_with_mask(void *addr, void *dest, unsigned int mask);
+int comp_with_mask_sock(struct sockaddr *addr, struct sockaddr *dest, unsigned int mask);
 
 /*
  * collapse - collapse a string in place, converts multiple adjacent *'s