diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-07-30 10:43:51 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-08-07 06:13:51 +0200 |
commit | 3cfa4bc00c61eca4c0986c793dd21b8b5271fd8f (patch) | |
tree | 01b10c6fa35134394d170696c5c14c67b20b87b3 /include/libbb.h | |
parent | 2fd4f0fbe93ec7e6e10b3475257521dd8418f8e7 (diff) | |
download | barebox-3cfa4bc00c61eca4c0986c793dd21b8b5271fd8f.tar.gz barebox-3cfa4bc00c61eca4c0986c793dd21b8b5271fd8f.tar.xz |
move file helper functions to separate file
We have our file helper functions in several places. Move them
all to lib/libfile.c.
With this we no longer have file helpers in fs/fs.c which contains
the core fs functions and no functions in lib/libbb.c which are
not from busybox.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/libbb.h b/include/libbb.h index 2fe710c368..a362bd32d8 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -26,15 +26,8 @@ int recursive_action(const char *fileName, unsigned flags, char * safe_strncpy(char *dst, const char *src, size_t size); -int copy_file(const char *src, const char *dst, int verbose); - int process_escape_sequence(const char *source, char *dest, int destlen); char *simple_itoa(unsigned int i); -int write_full(int fd, void *buf, size_t size); -int read_full(int fd, void *buf, size_t size); - -char *read_file_line(const char *fmt, ...); - #endif /* __LIBBB_H */ |