mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00: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
1 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,10 @@
|
||||||
|
|
||||||
#define HELP_ERR "Could not show help message\n"
|
#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 )
|
void print_help( char *c, int fd )
|
||||||
{
|
{
|
||||||
char cmd[ CMD_LEN];
|
char cmd[ CMD_LEN];
|
||||||
|
|
Loading…
Reference in a new issue