summaryrefslogtreecommitdiff
path: root/udev.h
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-02-11 22:10:26 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:32:26 -0700
commit51a8bb2f361d86013e7579570faba446eed9c66d (patch)
treee2ac4dc12e0608edec3731f1764873958b835add /udev.h
parent4d803d8d04a8493f8efc039c7789c65be33048a0 (diff)
[PATCH] fix log option code so that it actually works for all udev programs.
Also introduce boolean type for config file to use.
Diffstat (limited to 'udev.h')
-rw-r--r--udev.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/udev.h b/udev.h
index 8b3f305d34..108623e059 100644
--- a/udev.h
+++ b/udev.h
@@ -32,8 +32,6 @@
#define OWNER_SIZE 30
#define GROUP_SIZE 30
#define MODE_SIZE 8
-#define BOOL_SIZE 5 /* 'yes', 'no' and possibly 'true' or 'false'
- in future */
struct udevice {
char name[NAME_SIZE];
@@ -74,6 +72,6 @@ extern char udev_rules_filename[PATH_MAX+NAME_MAX];
extern char default_mode_str[MODE_SIZE];
extern char default_owner_str[OWNER_SIZE];
extern char default_group_str[GROUP_SIZE];
-extern char udev_log_str[BOOL_SIZE];
+extern int udev_log;
#endif