summaryrefslogtreecommitdiff
path: root/dviware/psprint/unix/globals.h
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /dviware/psprint/unix/globals.h
Initial commit
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 *)