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 @@ /* dstring.h - Dynamic string handling include file. Requires strings.h. - Copyright (C) 1990, 1991, 1992 Free Software Foundation, Inc. + Copyright (C) 1990, 1991, 1992, 2004 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -42,8 +42,8 @@ typedef struct #define ds_index(s, c) index ((s)->ds_string, c) #define ds_rindex(s, c) rindex ((s)->ds_string, c) -void ds_init (); -void ds_resize (); -char *ds_fgetname (); -char *ds_fgets (); -char *ds_fgetstr (); +void ds_init (dynamic_string *string, int size); +void ds_resize (dynamic_string *string, int size); +char *ds_fgetname (FILE *f, dynamic_string *s); +char *ds_fgets (FILE *f, dynamic_string *s); +char *ds_fgetstr (FILE *f, dynamic_string *s, char eos); |