diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-09-05 19:28:29 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-09-05 19:28:29 +0200 |
commit | e09bff33412c150a2c4c80ca7e2d5c6b76f10c9f (patch) | |
tree | 0d9530a372348a58acb2a3ff8b515fa21cb506ca /runit/runit_lib.h | |
parent | 8d789e419732e860cf89883c0565ff496b3291ee (diff) | |
download | busybox-w32-e09bff33412c150a2c4c80ca7e2d5c6b76f10c9f.tar.gz busybox-w32-e09bff33412c150a2c4c80ca7e2d5c6b76f10c9f.tar.bz2 busybox-w32-e09bff33412c150a2c4c80ca7e2d5c6b76f10c9f.zip |
runit_lib: remove/inline a few more things
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'runit/runit_lib.h')
-rw-r--r-- | runit/runit_lib.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/runit/runit_lib.h b/runit/runit_lib.h index 88d1c9f22..d8304aca6 100644 --- a/runit/runit_lib.h +++ b/runit/runit_lib.h | |||
@@ -66,18 +66,18 @@ PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN | |||
66 | //extern void iopause(iopause_fd *,unsigned,struct taia *,struct taia *); | 66 | //extern void iopause(iopause_fd *,unsigned,struct taia *,struct taia *); |
67 | 67 | ||
68 | extern int lock_ex(int); | 68 | extern int lock_ex(int); |
69 | extern int lock_un(int); | 69 | //extern int lock_un(int); |
70 | extern int lock_exnb(int); | 70 | extern int lock_exnb(int); |
71 | 71 | ||
72 | extern int open_read(const char *); | 72 | extern int open_read(const char *); |
73 | extern int open_excl(const char *); | ||
74 | extern int open_append(const char *); | ||
75 | extern int open_trunc(const char *); | ||
76 | extern int open_write(const char *); | 73 | extern int open_write(const char *); |
74 | //extern int open_excl(const char *); | ||
75 | //extern int open_append(const char *); | ||
76 | //extern int open_trunc(const char *); | ||
77 | 77 | ||
78 | extern unsigned pmatch(const char *, const char *, unsigned); | 78 | extern unsigned FAST_FUNC pmatch(const char *, const char *, unsigned); |
79 | 79 | ||
80 | #define str_diff(s,t) strcmp((s), (t)) | 80 | //#define str_diff(s,t) strcmp((s), (t)) |
81 | #define str_equal(s,t) (!strcmp((s), (t))) | 81 | #define str_equal(s,t) (!strcmp((s), (t))) |
82 | 82 | ||
83 | /* | 83 | /* |