examples/dtwsm: remove register keyword
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user