From: Jon Trulson Date: Wed, 27 Jun 2018 19:16:04 +0000 (-0600) Subject: examples/dtwsm: remove register keyword X-Git-Tag: 2.3.0a~336 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7125b437f1f15445ee681494c866b3ae73312848;p=oweals%2Fcde.git examples/dtwsm: remove register keyword --- diff --git a/cde/examples/dtwsm/occupy.c b/cde/examples/dtwsm/occupy.c index 2c923aea..21d36c39 100644 --- a/cde/examples/dtwsm/occupy.c +++ b/cde/examples/dtwsm/occupy.c @@ -275,8 +275,8 @@ Widget top; { Window root; Arg args[10]; /* arg list */ - register int n; /* arg count */ - register int i; + int n; /* arg count */ + int i; DtWsmWorkspaceInfo *pWsInfo; char *pchWs; Widget left = None; @@ -350,7 +350,7 @@ Widget top; static void ShowWorkspaceOccupancy () { Arg args[10]; /* arg list */ - register int n; /* arg count */ + int n; /* arg count */ int i,j; Atom *paWsIn = NULL; unsigned long numWsIn; diff --git a/cde/examples/dtwsm/wsinfo.c b/cde/examples/dtwsm/wsinfo.c index 5a6724a2..47a5a19a 100644 --- a/cde/examples/dtwsm/wsinfo.c +++ b/cde/examples/dtwsm/wsinfo.c @@ -83,8 +83,8 @@ void main (argc,argv) Widget top; XtAppContext app_context; Arg args[10]; - register int n; - register int i; + int n; + int i; XmString xms, xmsBlank; /* @@ -442,7 +442,7 @@ void main (argc,argv) static void ShowCurrentWorkspaceInfo () { Arg args[10]; /* arg list */ - register int n; /* arg count */ + int n; /* arg count */ Atom aWs; int rval; Display *dpy;