summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/lib/lib.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-15 15:16:51 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-15 15:16:51 +0000
commita13fa3342001a13e250113815da70344a009380e (patch)
tree2b6c5ffb03d5ffc6538bfccb517d7db3a9c75cea /Build/source/texk/web2c/lib/lib.h
parent9b9bd438a2fac27b0347aef44b584acfd52d53ab (diff)
avoid compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@13758 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/lib/lib.h')
-rw-r--r--Build/source/texk/web2c/lib/lib.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/lib/lib.h b/Build/source/texk/web2c/lib/lib.h
new file mode 100644
index 00000000000..156e1350d15
--- /dev/null
+++ b/Build/source/texk/web2c/lib/lib.h
@@ -0,0 +1,53 @@
+/* lib.h: declare prototypes for functions in lib.a.
+ Public domain. */
+
+#ifndef LIB_LIB_H
+#define LIB_LIB_H
+
+/* basechsuffix.c */
+extern string basenamechangesuffix (const_string, const_string, const_string);
+
+/* chartostring.c */
+extern string chartostring (char);
+
+/* eofeoln.c */
+extern boolean eof (FILE *);
+extern boolean eoln (FILE *);
+extern void readln (FILE *);
+
+/* fprintreal.c */
+extern void fprintreal (FILE *, double, int, int);
+
+/* inputint.c */
+extern integer inputint (FILE *);
+
+/* input2int.c */
+extern void zinput2ints (integer *, integer *);
+extern void zinput3ints (integer *, integer *, integer *);
+
+/* main.c */
+extern int argc;
+extern string *argv;
+extern string cmdline (int);
+extern TEXDLL void mainbody (void); /* generated by web2c */
+
+/* openclose.c */
+extern boolean open_input (FILE **, int, const_string fopen_mode);
+extern boolean open_output (FILE **, const_string fopen_mode);
+extern void close_file (FILE *);
+extern void recorder_change_filename (string);
+extern boolean recorder_enabled;
+extern string output_directory;
+extern void recorder_record_input (const_string);
+extern void recorder_record_output (const_string);
+
+/* printversion.c */
+extern void printversionandexit (const_string, const_string, const_string, char*);
+
+/* version.c */
+extern char *versionstring;
+
+/* zround.c */
+extern integer zround (double);
+
+#endif /* not LIB_LIB_H */