chiark / gitweb /
change type for address family to "int"
[elogind.git] / src / libsystemd-network / network-internal.h
index 53c364a4c9533d8ef6dec067e7c9584b4453265e..765dff4f3f08b0327ee294cc5118cd7069c9186f 100644 (file)
@@ -62,7 +62,7 @@ int config_parse_ifalias(const char *unit, const char *filename, unsigned line,
                          const char *section, unsigned section_line, const char *lvalue,
                          int ltype, const char *rvalue, void *data, void *userdata);
 
-int net_parse_inaddr(const char *address, unsigned char *family, void *dst);
+int net_parse_inaddr(const char *address, int *family, void *dst);
 
 int net_get_unique_predictable_data(struct udev_device *device, uint8_t result[8]);
 const char *net_get_name(struct udev_device *device);