diff options
author | Rob Landley <rob@landley.net> | 2008-05-12 00:52:27 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2008-05-12 00:52:27 -0500 |
commit | 988abb33a5c9d8023a8e1bd5535a75a16e5d9e46 (patch) | |
tree | e79fe82472c84fe3e6675650e49770c8c0e23733 /lib/lib.h | |
parent | e156d44eb2e9954d37ed0dfa326f263c3ed4c3d7 (diff) | |
download | toybox-988abb33a5c9d8023a8e1bd5535a75a16e5d9e46.tar.gz |
Update mdev to work around the newest sysfs api breakage in the 2.6.25 kernel.
(Yeah, I know sysfs hasn't actually got an API, but I like to pretend...)
Diffstat (limited to 'lib/lib.h')
-rw-r--r-- | lib/lib.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -36,6 +36,7 @@ void get_optflags(void); struct dirtree { struct dirtree *next, *child, *parent; struct stat st; + int depth; char name[]; }; @@ -75,6 +76,7 @@ void xwrite(int fd, void *buf, size_t len); char *xgetcwd(void); void xstat(char *path, struct stat *st); char *xabspath(char *path); +void xchdir(char *path); void xmkpath(char *path, int mode); struct string_list *find_in_path(char *path, char *filename); void utoa_to_buf(unsigned n, char *buf, unsigned buflen); |