examples/dtwsm: remove register keyword

This commit is contained in:
Jon Trulson
2018-06-27 13:16:04 -06:00
parent b2a4d3c202
commit 7125b437f1
2 changed files with 6 additions and 6 deletions

View File

@@ -275,8 +275,8 @@ Widget top;
{ {
Window root; Window root;
Arg args[10]; /* arg list */ Arg args[10]; /* arg list */
register int n; /* arg count */ int n; /* arg count */
register int i; int i;
DtWsmWorkspaceInfo *pWsInfo; DtWsmWorkspaceInfo *pWsInfo;
char *pchWs; char *pchWs;
Widget left = None; Widget left = None;
@@ -350,7 +350,7 @@ Widget top;
static void ShowWorkspaceOccupancy () static void ShowWorkspaceOccupancy ()
{ {
Arg args[10]; /* arg list */ Arg args[10]; /* arg list */
register int n; /* arg count */ int n; /* arg count */
int i,j; int i,j;
Atom *paWsIn = NULL; Atom *paWsIn = NULL;
unsigned long numWsIn; unsigned long numWsIn;

View File

@@ -83,8 +83,8 @@ void main (argc,argv)
Widget top; Widget top;
XtAppContext app_context; XtAppContext app_context;
Arg args[10]; Arg args[10];
register int n; int n;
register int i; int i;
XmString xms, xmsBlank; XmString xms, xmsBlank;
/* /*
@@ -442,7 +442,7 @@ void main (argc,argv)
static void ShowCurrentWorkspaceInfo () static void ShowCurrentWorkspaceInfo ()
{ {
Arg args[10]; /* arg list */ Arg args[10]; /* arg list */
register int n; /* arg count */ int n; /* arg count */
Atom aWs; Atom aWs;
int rval; int rval;
Display *dpy; Display *dpy;