From 4e53274ff0e0553c6ad05b2d026fb101b854f4fc Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Wed, 2 Oct 1996 18:38:02 +0000 Subject: [PATCH] Got rid of all `register' declarations. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@822 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/xnlock/xnlock.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/appl/xnlock/xnlock.c b/appl/xnlock/xnlock.c index 75ccef725..11bb00703 100644 --- a/appl/xnlock/xnlock.c +++ b/appl/xnlock/xnlock.c @@ -274,7 +274,7 @@ leave(void) static void walk(int dir) { - register int incr = 0; + int incr = 0; static int lastdir; static int up = 1; static Pixmap frame; @@ -354,7 +354,7 @@ move(XtPointer _p, XtIntervalId *_id) static int length, dir; if (!length) { - register int tries = 0; + int tries = 0; dir = 0; if ((rand() & 1) && think()) { talk(0); /* sets timeout to itself */ @@ -703,7 +703,7 @@ talk(int force_erase) int width = 0, height, Z, total = 0; static int X, Y, talking; static struct { int x, y, width, height; } s_rect; - register char *p, *p2; + char *p, *p2; char buf[BUFSIZ], args[MAXLINES][256]; /* clear what we've written */ @@ -734,7 +734,7 @@ talk(int force_erase) * if no CR or only one, then just print the line */ if (!(p2 = strchr(p, '\n')) || !p2[1]) { - register int w; + int w; if (p2) *p2 = 0; @@ -843,7 +843,7 @@ look(void) int main (int argc, char **argv) { - register int i; + int i; Widget override; XGCValues gcvalues;