Remove reference to device.h
[petitboot] / discover / udev.c
index 16d050e7702aae28de901f7ed969494804c3d129..6747e78a8064f7a04a5b377b3535a6a412658a71 100644 (file)
@@ -60,7 +60,7 @@ static void parse_event_params(struct udev_event *event, char *buf, int len)
        }
 }
 
-static const char *event_param(struct udev_event *event, const char *name)
+const char *udev_event_param(struct udev_event *event, const char *name)
 {
        int i;
 
@@ -86,7 +86,7 @@ static void print_event(struct udev_event *event)
 
        for (i = 0; params[i]; i++)
                printf("\t%-12s => %s\n",
-                               params[i], event_param(event, params[i]));
+                               params[i], udev_event_param(event, params[i]));
 
 }