aboutsummaryrefslogtreecommitdiff
path: root/src/dstring.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2004-09-06 14:04:53 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2004-09-06 14:04:53 +0000
commit73636cd24d6c3c5d6b9e41ac9ea75de4b73ce4c9 (patch)
tree9ace8aff250c2be68bdd4d66652c0f6e6aff02b5 /src/dstring.h
parente8818871ebdc0b85272d32a32b8cbfb41cbe11ce (diff)
downloadcpio-73636cd24d6c3c5d6b9e41ac9ea75de4b73ce4c9.tar.gz
cpio-73636cd24d6c3c5d6b9e41ac9ea75de4b73ce4c9.tar.bz2
Switched to ANSI C (sigh)
Diffstat (limited to 'src/dstring.h')
-rw-r--r--src/dstring.h12
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
45void ds_init (); 45void ds_init (dynamic_string *string, int size);
46void ds_resize (); 46void ds_resize (dynamic_string *string, int size);
47char *ds_fgetname (); 47char *ds_fgetname (FILE *f, dynamic_string *s);
48char *ds_fgets (); 48char *ds_fgets (FILE *f, dynamic_string *s);
49char *ds_fgetstr (); 49char *ds_fgetstr (FILE *f, dynamic_string *s, char eos);

Return to:

Send suggestions and report system problems to the System administrator.