1.1 --- a/libe2access/host/input.h Sun Mar 06 01:06:30 2022 +0100
1.2 +++ b/libe2access/host/input.h Sun Mar 06 01:30:32 2022 +0100
1.3 @@ -19,9 +19,7 @@
1.4 * Boston, MA 02110-1301, USA
1.5 */
1.6
1.7 -#ifndef __INPUT_H__
1.8 -
1.9 -
1.10 +#pragma once
1.11
1.12 #include <stdio.h>
1.13
1.14 @@ -31,22 +29,10 @@
1.15 size_t buffer_size, remaining;
1.16 };
1.17
1.18 -#ifdef __cplusplus
1.19 -extern "C" {
1.20 -#endif
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
1.27 -#ifdef __cplusplus
1.28 -}
1.29 -#endif
1.30 -
1.31 -
1.32 -
1.33 -#endif /* __INPUT_H__ */
1.34 -
1.35 /* vim: tabstop=4 expandtab shiftwidth=4
1.36 */