mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtpad: remove register keyword
This commit is contained in:
parent
d0a4f777d8
commit
f0a6172d3f
3 changed files with 12 additions and 12 deletions
|
@ -965,7 +965,7 @@ CreateEditorWidget(
|
|||
{
|
||||
Widget parent = pPad->mainWindow;
|
||||
Arg al[10]; /* arg list */
|
||||
register int ac; /* arg count */
|
||||
int ac; /* arg count */
|
||||
Pixel background, foreground, top_shadow, bottom_shadow, selectColor;
|
||||
Colormap colormap;
|
||||
XmString dialogTitleStr = XmStringCreateLocalized(DialogTitle(pPad));
|
||||
|
@ -1017,7 +1017,7 @@ FindOrCreatePad(
|
|||
Boolean foundPad = False;
|
||||
Editor *pPad;
|
||||
Arg al[10];
|
||||
register int ac;
|
||||
int ac;
|
||||
|
||||
/* -----> Reuse unused entries (corresponding to closed editor windows)
|
||||
* before creating new ones. */
|
||||
|
|
|
@ -182,7 +182,7 @@ SetSaveAsDirAndFile(Editor *pPad)
|
|||
int firstSelect = -1, lastSelect = -1;
|
||||
Widget textField;
|
||||
Arg args[5];
|
||||
register int n;
|
||||
int n;
|
||||
XmString dirString;
|
||||
dirbuf[0] = (char) '\0';
|
||||
|
||||
|
@ -263,7 +263,7 @@ CreateNewLineToggles(
|
|||
ToggleWidgets *pToggleWidgets)
|
||||
{
|
||||
Arg args[20];
|
||||
register int n;
|
||||
int n;
|
||||
XmString label_string;
|
||||
|
||||
/* -----> Create Radio Box */
|
||||
|
@ -321,7 +321,7 @@ void
|
|||
CreateSaveAsDialog(Editor *pPad)
|
||||
{
|
||||
Arg args[20];
|
||||
register int n;
|
||||
int n;
|
||||
XmString label_string;
|
||||
char buf[256];
|
||||
SaveAs *pSaveAs = &pPad->fileStuff.fileWidgets.saveAs;
|
||||
|
@ -563,7 +563,7 @@ CreateFileSelectionDialog(
|
|||
Editor *pPad )
|
||||
{
|
||||
Arg al[10]; /* arg list */
|
||||
register int ac; /* arg count */
|
||||
int ac; /* arg count */
|
||||
XmString tmpStr;
|
||||
Select *pSelect = &pPad->fileStuff.fileWidgets.select;
|
||||
|
||||
|
@ -618,7 +618,7 @@ CreateSaveWarning(
|
|||
Editor *pPad )
|
||||
{
|
||||
Arg al[10]; /* arg list */
|
||||
register int ac; /* arg count */
|
||||
int ac; /* arg count */
|
||||
char buf[256];
|
||||
Widget w, kid[5];
|
||||
Pixel foreground, background;
|
||||
|
@ -901,7 +901,7 @@ AskIfSave(
|
|||
Editor *pPad)
|
||||
{
|
||||
Arg al[10]; /* arg list */
|
||||
register int ac; /* arg count */
|
||||
int ac; /* arg count */
|
||||
char *tmp = NULL;
|
||||
XmString tmpStr;
|
||||
Select *pSelect = &pPad->fileStuff.fileWidgets.select;
|
||||
|
|
|
@ -512,7 +512,7 @@ CreateFirstPad(
|
|||
char **argv_l, **c_argv_l;
|
||||
Editor *pPad;
|
||||
Arg al[10];
|
||||
register int ac;
|
||||
int ac;
|
||||
Widget foo;
|
||||
int i;
|
||||
/* Added for the argument fix*/
|
||||
|
@ -1007,7 +1007,7 @@ RealizeNewPad(
|
|||
Editor *pPad)
|
||||
{
|
||||
Arg al[5]; /* arg list */
|
||||
register int ac; /* arg count */
|
||||
int ac; /* arg count */
|
||||
|
||||
/* Create the title */
|
||||
pPad->dialogTitle = DialogTitle(pPad);
|
||||
|
@ -1232,7 +1232,7 @@ GetAdjustedResizeHints(
|
|||
XSizeHints *pHints)
|
||||
{
|
||||
Arg al[2]; /* arg list */
|
||||
register int ac; /* arg count */
|
||||
int ac; /* arg count */
|
||||
Dimension MBheight;
|
||||
|
||||
/* get Dt Editor widget size hints */
|
||||
|
@ -1357,7 +1357,7 @@ SetWindowSize(
|
|||
Editor *pPad)
|
||||
{
|
||||
Arg al[10]; /* arg list */
|
||||
register int ac; /* arg count */
|
||||
int ac; /* arg count */
|
||||
XSizeHints size_hints;
|
||||
XWMHints *wmhints;
|
||||
long supplied_return;
|
||||
|
|
Loading…
Reference in a new issue