diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-08-02 05:02:46 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-08-02 05:02:46 +0000 |
commit | 34506361697643277042fc8d7294bc17a27d4e28 (patch) | |
tree | bf2c45a12020be4e0a37547abb50c40c0074e8ec /include | |
parent | 2d91deba45d5a284614e06cc55e2be03599ca26d (diff) | |
download | busybox-w32-34506361697643277042fc8d7294bc17a27d4e28.tar.gz busybox-w32-34506361697643277042fc8d7294bc17a27d4e28.tar.bz2 busybox-w32-34506361697643277042fc8d7294bc17a27d4e28.zip |
Latest patch from vodz. Adds a check for divide by zero in the posix
math suport, cleaner math syntax error checking, moves redundant signal
string tables (from kill and ash) into libbb and provides a few
cleanups elsewhere.
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index 66acc2278..df52027ce 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -212,7 +212,7 @@ char *xreadlink(const char *path); | |||
212 | char *concat_path_file(const char *path, const char *filename); | 212 | char *concat_path_file(const char *path, const char *filename); |
213 | char *last_char_is(const char *s, int c); | 213 | char *last_char_is(const char *s, int c); |
214 | 214 | ||
215 | extern long arith (const char *startbuf); | 215 | extern long arith (const char *startbuf, int *errcode); |
216 | 216 | ||
217 | typedef struct file_headers_s { | 217 | typedef struct file_headers_s { |
218 | char *name; | 218 | char *name; |
@@ -261,6 +261,8 @@ char *dirname (const char *path); | |||
261 | 261 | ||
262 | int make_directory (char *path, mode_t mode, int flags); | 262 | int make_directory (char *path, mode_t mode, int flags); |
263 | 263 | ||
264 | const char *u_signal_names(const char *str_sig, int *signo, int startnum); | ||
265 | |||
264 | #define CT_AUTO 0 | 266 | #define CT_AUTO 0 |
265 | #define CT_UNIX2DOS 1 | 267 | #define CT_UNIX2DOS 1 |
266 | #define CT_DOS2UNIX 2 | 268 | #define CT_DOS2UNIX 2 |