};
static void
-usage (status)
- int status;
+usage (int status)
{
if (status != 0)
fprintf (stderr, _("Try `%s --help' for more information.\n"),
Return -1 if STR does not represent a valid unsigned integer. */
static long
-atou (str)
- char *str;
+atou (char *str)
{
int value;
}
static void
-parse_unit (str)
- char *str;
+parse_unit (char *str)
{
int arglen = strlen (str);
}
static void
-write_header (filename)
- char *filename;
+write_header (char *filename)
{
static int first_file = 1;
}
static int
-head_bytes (filename, fd, bytes_to_write)
- char *filename;
- int fd;
- long bytes_to_write;
+head_bytes (char *filename, int fd, long int bytes_to_write)
{
char buffer[BUFSIZE];
int bytes_read;
}
static int
-head_lines (filename, fd, lines_to_write)
- char *filename;
- int fd;
- long lines_to_write;
+head_lines (char *filename, int fd, long int lines_to_write)
{
char buffer[BUFSIZE];
int bytes_read;
}
static int
-head (filename, fd, number)
- char *filename;
- int fd;
- long number;
+head (char *filename, int fd, long int number)
{
if (unit_size)
return head_bytes (filename, fd, number);
}
static int
-head_file (filename, number)
- char *filename;
- long number;
+head_file (char *filename, long int number)
{
int fd;
}
void
-main (argc, argv)
- int argc;
- char **argv;
+main (int argc, char **argv)
{
enum header_mode header_mode = multiple_files;
int exit_status = 0;