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;
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;

View File

@@ -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;