1 // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; c-brace-offset: 0; -*-
8 * Written by Eric C. Cooper, CMU
11 #define ROUNDUP(x,y) (((x)+(y)-1)/(y))
13 extern unsigned long num (FILE *, int);
14 extern long snum(FILE *, int);
15 extern struct WindowRec mane
, currwin
;
17 #define one(fp) ((unsigned char) getc(fp))
18 #define sone(fp) ((long) one(fp))
19 #define two(fp) num (fp, 2)
20 #define stwo(fp) snum(fp, 2)
21 #define four(fp) num (fp, 4)
22 #define sfour(fp) snum(fp, 4)