Skip to contentSkip to conversation

Fix -Wall warnings in udev 054

PATCH Applied Tobias Klauser 2 participants 2 messages Mar 10, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 2/4 Fix -Wall warnings in udev 054

Hi,

The following patch fixes a warning when compiling udev with the -Wall compiler flag. The path to dlist.h is not correct.

Thanks, Tobias

libsysfs/sysfs/libsysfs.h +1 -1
@@ -25,7 +25,7 @@
 
 #include <sys/types.h>
 #include <string.h>
-#include "dlist.h"
+#include "../dlist.h"
 
 #define SYSFS_FSTYPE_NAME	"sysfs"
 #define SYSFS_PROC_MNTS		"/proc/mounts"

-------------------------------------------------------
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

#1 lore raw
Quoted 12 lines · Tobias Klauser

Hi,

The following patch fixes a warning when compiling udev with the -Wall compiler flag. The path to dlist.h is not correct.

Thanks, Tobias

libsysfs/sysfs/libsysfs.h line 31

Quoted 8 lines
libsysfs/sysfs/libsysfs.h +1 -1
@@ -25,7 +25,7 @@
 
 #include <sys/types.h>
 #include <string.h>
-#include "dlist.h"
+#include "../dlist.h"
 
 #define SYSFS_FSTYPE_NAME	"sysfs"
 #define SYSFS_PROC_MNTS		"/proc/mounts"

Instead of this, I've moved the dlist.h where it belongs.

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