diff options
author | greg@kroah.com <greg@kroah.com> | 2004-02-12 01:29:40 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:32:27 -0700 |
commit | d45ea2b70c0cba69b02dae81d696a8b4c05c1771 (patch) | |
tree | 1e06432865ee740dec00f542ced31e44c68824cd | |
parent | 3a8c51a771b5c67d5cf0002980254ef175668630 (diff) |
[PATCH] stop using mode_t as different libcs define it in different ways :(
-rw-r--r-- | namedev.h | 2 | ||||
-rw-r--r-- | udev.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -74,7 +74,7 @@ struct perm_device { char name[NAME_SIZE]; char owner[OWNER_SIZE]; char group[GROUP_SIZE]; - mode_t mode; + unsigned int mode; }; extern struct list_head config_device_list; @@ -40,7 +40,7 @@ struct udevice { char type; int major; int minor; - mode_t mode; + unsigned int mode; /* not mode_t due to conflicting definitions in different libcs */ char symlink[NAME_SIZE]; /* fields that help us in building strings */ |