Declare write_loop() in print_help.c to fix warning (it's declared in common.h, but including that file here breaks things badly).

This commit is contained in:
Ben Hoskings 2009-12-02 03:07:22 +11:00 committed by Suraj N. Kurapati
parent 006952c571
commit 517751f2a3

View File

@ -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];