diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2004-09-06 14:04:53 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2004-09-06 14:04:53 +0000 |
commit | 73636cd24d6c3c5d6b9e41ac9ea75de4b73ce4c9 (patch) | |
tree | 9ace8aff250c2be68bdd4d66652c0f6e6aff02b5 /src/dstring.h | |
parent | e8818871ebdc0b85272d32a32b8cbfb41cbe11ce (diff) | |
download | cpio-73636cd24d6c3c5d6b9e41ac9ea75de4b73ce4c9.tar.gz cpio-73636cd24d6c3c5d6b9e41ac9ea75de4b73ce4c9.tar.bz2 |
Switched to ANSI C (sigh)
Diffstat (limited to 'src/dstring.h')
-rw-r--r-- | src/dstring.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/dstring.h b/src/dstring.h index 515ee29..1615518 100644 --- a/src/dstring.h +++ b/src/dstring.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* dstring.h - Dynamic string handling include file. Requires strings.h. | 1 | /* dstring.h - Dynamic string handling include file. Requires strings.h. |
2 | Copyright (C) 1990, 1991, 1992 Free Software Foundation, Inc. | 2 | Copyright (C) 1990, 1991, 1992, 2004 Free Software Foundation, Inc. |
3 | 3 | ||
4 | This program is free software; you can redistribute it and/or modify | 4 | This program is free software; you can redistribute it and/or modify |
5 | it under the terms of the GNU General Public License as published by | 5 | it under the terms of the GNU General Public License as published by |
@@ -42,8 +42,8 @@ typedef struct | |||
42 | #define ds_index(s, c) index ((s)->ds_string, c) | 42 | #define ds_index(s, c) index ((s)->ds_string, c) |
43 | #define ds_rindex(s, c) rindex ((s)->ds_string, c) | 43 | #define ds_rindex(s, c) rindex ((s)->ds_string, c) |
44 | 44 | ||
45 | void ds_init (); | 45 | void ds_init (dynamic_string *string, int size); |
46 | void ds_resize (); | 46 | void ds_resize (dynamic_string *string, int size); |
47 | char *ds_fgetname (); | 47 | char *ds_fgetname (FILE *f, dynamic_string *s); |
48 | char *ds_fgets (); | 48 | char *ds_fgets (FILE *f, dynamic_string *s); |
49 | char *ds_fgetstr (); | 49 | char *ds_fgetstr (FILE *f, dynamic_string *s, char eos); |