libv4l: fix a compiler warning
authorhans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain>
Fri, 7 Aug 2009 15:26:11 +0000 (17:26 +0200)
committerhans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain>
Fri, 7 Aug 2009 15:26:11 +0000 (17:26 +0200)
From: Hans de Goede <hdegoede@redhat.com>

libv4l: fix a compiler warning

Priority: normal

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
lib/libv4lconvert/control/libv4lcontrol.c

index 9a52819..e62862f 100644 (file)
@@ -154,7 +154,7 @@ static const struct v4lcontrol_flags_info v4lcontrol_flags[] = {
 
 static const struct v4l2_queryctrl fake_controls[];
 
-static int v4lcontrol_get_dmi_string(const char *string, char *buf, int size)
+static void v4lcontrol_get_dmi_string(const char *string, char *buf, int size)
 {
   FILE *f;
   char *s, sysfs_name[512];