[PATCH] stop using mode_t as different libcs define it in different ways :(

This commit is contained in:
greg@kroah.com
2005-04-26 21:32:27 -07:00
committed by Greg KH
parent 3a8c51a771
commit d45ea2b70c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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 */