1.1 --- a/fsaccess/input.h Thu Jan 11 19:24:44 2024 +0100
1.2 +++ b/fsaccess/input.h Thu Jan 11 19:25:29 2024 +0100
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * Elementary input utilities.
1.6 *
1.7 - * Copyright (C) 2022 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2022, 2024 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This program is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License as
1.12 @@ -23,16 +23,10 @@
1.13
1.14 #include <stdio.h>
1.15
1.16 -struct read_line_state
1.17 -{
1.18 - char *buffer, *start, *end, *eolp;
1.19 - size_t buffer_size, remaining;
1.20 -};
1.21 -
1.22 void parse_line(char *start, char *end, int *num_args, char *args[],
1.23 const int max_args);
1.24
1.25 -char *read_line(FILE *fp, struct read_line_state *state);
1.26 +char *read_line(FILE *fp, char *buffer, size_t bufsize);
1.27
1.28 /* vim: tabstop=4 expandtab shiftwidth=4
1.29 */