summaryrefslogtreecommitdiffstats
path: root/contrib/tar/lib/getstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tar/lib/getstr.h')
-rw-r--r--contrib/tar/lib/getstr.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/tar/lib/getstr.h b/contrib/tar/lib/getstr.h
new file mode 100644
index 0000000..367bf4e
--- /dev/null
+++ b/contrib/tar/lib/getstr.h
@@ -0,0 +1,19 @@
+#ifndef GETSTR_H_
+# define GETSTR_H_ 1
+
+# include <stdio.h>
+
+# ifndef PARAMS
+# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
+# define PARAMS(Args) Args
+# else
+# define PARAMS(Args) ()
+# endif
+# endif
+
+int
+getstr PARAMS ((char **lineptr, size_t *n, FILE *stream,
+ int delim1, int delim2,
+ size_t offset));
+
+#endif
OpenPOWER on IntegriCloud