diff options
| author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-05-07 23:11:23 +0000 |
|---|---|---|
| committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-05-07 23:11:23 +0000 |
| commit | 97650e243afda5455a4d68dc51f13dfe65f48a14 (patch) | |
| tree | 37dccdffc5a629b2fe230ae3df6e2ce7ea9de28d /include | |
| parent | b8b22cf2887860bccf81793f041c309ccb9dfcac (diff) | |
| download | busybox-w32-97650e243afda5455a4d68dc51f13dfe65f48a14.tar.gz busybox-w32-97650e243afda5455a4d68dc51f13dfe65f48a14.tar.bz2 busybox-w32-97650e243afda5455a4d68dc51f13dfe65f48a14.zip | |
This syncs things with Vladimir's latest patches. Also gets
rid of useless 'const int' declarations.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@2569 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
| -rw-r--r-- | include/libbb.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libbb.h b/include/libbb.h index b7ef21b9a..21af5688a 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
| @@ -84,7 +84,7 @@ extern void vperror_msg(const char *s, va_list p); | |||
| 84 | 84 | ||
| 85 | const char *mode_string(int mode); | 85 | const char *mode_string(int mode); |
| 86 | const char *time_string(time_t timeVal); | 86 | const char *time_string(time_t timeVal); |
| 87 | int is_directory(const char *name, const int followLinks, struct stat *statBuf); | 87 | int is_directory(const char *name, int followLinks, struct stat *statBuf); |
| 88 | int isDevice(const char *name); | 88 | int isDevice(const char *name); |
| 89 | 89 | ||
| 90 | typedef struct ino_dev_hash_bucket_struct { | 90 | typedef struct ino_dev_hash_bucket_struct { |
| @@ -219,7 +219,7 @@ int klogctl(int type, char * b, int len); | |||
| 219 | char *xgetcwd(char *cwd); | 219 | char *xgetcwd(char *cwd); |
| 220 | char *xreadlink(const char *path); | 220 | char *xreadlink(const char *path); |
| 221 | char *concat_path_file(const char *path, const char *filename); | 221 | char *concat_path_file(const char *path, const char *filename); |
| 222 | int last_char_is(const char *s, const int c); | 222 | char *last_char_is(char *s, int c); |
| 223 | 223 | ||
| 224 | typedef struct ar_headers_s { | 224 | typedef struct ar_headers_s { |
| 225 | char *name; | 225 | char *name; |
| @@ -245,9 +245,9 @@ typedef enum extract_function_e { | |||
| 245 | extract_field = 128, | 245 | extract_field = 128, |
| 246 | extract_contents_to_file = 256 | 246 | extract_contents_to_file = 256 |
| 247 | } extract_function_t; | 247 | } extract_function_t; |
| 248 | extern char *deb_extract(const char *package_filename, const int function, | 248 | extern char *deb_extract(const char *package_filename, int function, |
| 249 | const char *argument, const char *argument2); | 249 | const char *argument, const char *argument2); |
| 250 | extern char *untar(FILE *src_tar_file, FILE *output, const int untar_function, | 250 | extern char *untar(FILE *src_tar_file, FILE *output, int untar_function, |
| 251 | const char *argument, const char *file_prefix); | 251 | const char *argument, const char *file_prefix); |
| 252 | extern char *read_text_file_to_buffer(FILE *src_file); | 252 | extern char *read_text_file_to_buffer(FILE *src_file); |
| 253 | extern char *read_package_field(const char *package_buffer); | 253 | extern char *read_package_field(const char *package_buffer); |
