summaryrefslogtreecommitdiff
path: root/dviware/psprint/unix/globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'dviware/psprint/unix/globals.h')
-rw-r--r--dviware/psprint/unix/globals.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/dviware/psprint/unix/globals.h b/dviware/psprint/unix/globals.h
new file mode 100644
index 0000000000..b2e49f4b7c
--- /dev/null
+++ b/dviware/psprint/unix/globals.h
@@ -0,0 +1,14 @@
+(* Global data and routines *)
+
+CONST
+ maxstring = 80;
+ maxstringm = maxstring - 1;
+
+TYPE
+ string = ARRAY [0..maxstringm] OF CHAR;
+
+VAR
+ warncount : INTEGER; (* used to determine exit status *)
+
+PROCEDURE exit (status : integer); EXTERNAL;
+(* SYSDEP: 0 = success, 1 = error, 2 = warning *)