more -Wall warning fixes. -Wall is enabled now.

This commit is contained in:
Denis Vlasenko
2008-05-18 22:28:26 +00:00
parent e125a683a7
commit 5599502a55
14 changed files with 34 additions and 35 deletions

View File

@ -1048,7 +1048,7 @@ extern int update_passwd(const char *filename, const char *username,
const char *new_pw);
/* NB: typically you want to pass fd 0, not 1. Think 'applet | grep something' */
int get_terminal_width_height(int fd, int *width, int *height);
int get_terminal_width_height(int fd, unsigned *width, unsigned *height);
/* NB: "unsigned request" is crucial! "int request" will break some arches! */
int ioctl_or_perror(int fd, unsigned request, void *argp, const char *fmt,...) __attribute__ ((format (printf, 4, 5)));