Fix -Wall warnings in udev 054
PATCH 1/4 Fix -Wall warnings in udev 054
Hi,
The following patch fixes a warning when compiling udev with the -Wall compiler flag. unlink() is defined in unistd.h so we include it.
Thanks, Tobias
udev_db.c +1 -0
@@ -30,6 +30,7 @@#include <string.h> #include <errno.h> #include <dirent.h> +#include <unistd.h> #include "libsysfs/sysfs/libsysfs.h" #include "udev.h"
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 14 lines · Tobias Klauser
Hi,
The following patch fixes a warning when compiling udev with the -Wall compiler flag.
unlink()is defined inunistd.hso we include it.Thanks, Tobias
Sigend-off-by Tobias Klauser <[email protected]>diff -urpN
udev-054.orig/udev_db.cudev-054/udev_db.c
udev_db.c line 33
Quoted 4 lines
udev_db.c +1
-0@@ -30,6 +30,7 @@#include <string.h> #include <errno.h> #include <dirent.h> +#include <unistd.h>
That was already fixed.
Thanks,
Kay
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel