Browse Source

examples/dtwsm: remove register keyword

Jon Trulson 5 years ago
parent
commit
7125b437f1
2 changed files with 6 additions and 6 deletions
  1. 3 3
      cde/examples/dtwsm/occupy.c
  2. 3 3
      cde/examples/dtwsm/wsinfo.c

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

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