mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
examples/dtwsm: remove register keyword
This commit is contained in:
parent
b2a4d3c202
commit
7125b437f1
2 changed files with 6 additions and 6 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue