diff options
author | Ben Hoskings <ben@hoskings.net> | 2009-12-02 03:07:22 +1100 |
---|---|---|
committer | Suraj N. Kurapati <sunaku@gmail.com> | 2010-04-09 16:05:18 -0700 |
commit | 517751f2a3e989c9434e54f95443ef85182b58a6 (patch) | |
tree | 2f5c960561f19c2824e5a919522902a33dc6d3d4 /print_help.c | |
parent | 006952c5719fc7d0b317324a02111f44c382a3ec (diff) |
Declare write_loop() in print_help.c to fix warning (it's declared in common.h, but including that file here breaks things badly).
Diffstat (limited to 'print_help.c')
-rw-r--r-- | print_help.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/print_help.c b/print_help.c index 06270d20..40c1723e 100644 --- a/print_help.c +++ b/print_help.c @@ -13,6 +13,10 @@ #define HELP_ERR "Could not show help message\n" +/* defined in common.h */ +ssize_t write_loop(int fd, char *buff, size_t count); + + void print_help( char *c, int fd ) { char cmd[ CMD_LEN]; |