hal/hald/linux ieee1394_class_device.c, 1.3,
1.4 ieee1394_host_class_device.c, 1.3,
1.4 ieee1394_node_class_device.c, 1.3, 1.4
David Zeuthen
david at freedesktop.org
Mon Aug 2 10:49:45 PDT 2004
Update of /cvs/hal/hal/hald/linux
In directory pdx:/tmp/cvs-serv2222/hald/linux
Modified Files:
ieee1394_class_device.c ieee1394_host_class_device.c
ieee1394_node_class_device.c
Log Message:
2004-08-02 David Zeuthen <david at fubar.dk>
Patch from Dan Williams <dcbw at redhat.com>
* hald/linux/ieee1394_class_device.c:
* hald/linux/ieee1394_host_class_device.c:
* hald/linux/ieee1394_node_class_device.c:
Gets rid of warnings and potential bugs due to default function return
type of 'int'.
Index: ieee1394_class_device.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux/ieee1394_class_device.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- ieee1394_class_device.c 20 Jul 2004 17:27:16 -0000 1.3
+++ ieee1394_class_device.c 2 Aug 2004 17:49:43 -0000 1.4
@@ -27,6 +27,12 @@
# include <config.h>
#endif
+#ifdef HAVE_STRING_H
+# include <string.h>
+#endif
+
+#include <ctype.h>
+
#include "../logger.h"
#include "../device_store.h"
#include "../hald.h"
Index: ieee1394_host_class_device.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux/ieee1394_host_class_device.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- ieee1394_host_class_device.c 20 Jul 2004 17:27:16 -0000 1.3
+++ ieee1394_host_class_device.c 2 Aug 2004 17:49:43 -0000 1.4
@@ -29,6 +29,12 @@
#include <ctype.h>
+#ifdef HAVE_STRING_H
+# include <string.h>
+#endif
+
+#include <ctype.h>
+
#include "../logger.h"
#include "../device_store.h"
#include "../hald.h"
Index: ieee1394_node_class_device.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux/ieee1394_node_class_device.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- ieee1394_node_class_device.c 20 Jul 2004 17:27:16 -0000 1.3
+++ ieee1394_node_class_device.c 2 Aug 2004 17:49:43 -0000 1.4
@@ -27,6 +27,12 @@
# include <config.h>
#endif
+#ifdef HAVE_STRING_H
+# include <string.h>
+#endif
+
+#include <ctype.h>
+
#include "../logger.h"
#include "../device_store.h"
#include "../hald.h"
@@ -62,7 +68,7 @@
char attr_name[SYSFS_NAME_LEN];
int tmp;
const char *vendor_name = NULL;
- int vendor_id;
+ int vendor_id = 0;
sysdevice = sysfs_get_classdev_device (class_device);
dlist_for_each_data (sysfs_get_device_attributes (sysdevice),
More information about the hal-commit
mailing list