mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 19:03:38 +08:00
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:
parent
006952c571
commit
517751f2a3
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue
Block a user