projects
/
oweals
/
cde.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dtpad: remove register keyword
[oweals/cde.git]
/
cde
/
programs
/
dtpad
/
fileDlg.c
diff --git
a/cde/programs/dtpad/fileDlg.c
b/cde/programs/dtpad/fileDlg.c
index 9ae1225416b0a7407661230b635d9c5f9a8cc213..3ee3619aae0a6c7a36e2de2de075c16b6e356c26 100644
(file)
--- a/
cde/programs/dtpad/fileDlg.c
+++ b/
cde/programs/dtpad/fileDlg.c
@@
-182,7
+182,7
@@
SetSaveAsDirAndFile(Editor *pPad)
int firstSelect = -1, lastSelect = -1;
Widget textField;
Arg args[5];
int firstSelect = -1, lastSelect = -1;
Widget textField;
Arg args[5];
-
register
int n;
+ int n;
XmString dirString;
dirbuf[0] = (char) '\0';
XmString dirString;
dirbuf[0] = (char) '\0';
@@
-263,7
+263,7
@@
CreateNewLineToggles(
ToggleWidgets *pToggleWidgets)
{
Arg args[20];
ToggleWidgets *pToggleWidgets)
{
Arg args[20];
-
register
int n;
+ int n;
XmString label_string;
/* -----> Create Radio Box */
XmString label_string;
/* -----> Create Radio Box */
@@
-321,7
+321,7
@@
void
CreateSaveAsDialog(Editor *pPad)
{
Arg args[20];
CreateSaveAsDialog(Editor *pPad)
{
Arg args[20];
-
register
int n;
+ int n;
XmString label_string;
char buf[256];
SaveAs *pSaveAs = &pPad->fileStuff.fileWidgets.saveAs;
XmString label_string;
char buf[256];
SaveAs *pSaveAs = &pPad->fileStuff.fileWidgets.saveAs;
@@
-563,7
+563,7
@@
CreateFileSelectionDialog(
Editor *pPad )
{
Arg al[10]; /* arg list */
Editor *pPad )
{
Arg al[10]; /* arg list */
-
register
int ac; /* arg count */
+ int ac; /* arg count */
XmString tmpStr;
Select *pSelect = &pPad->fileStuff.fileWidgets.select;
XmString tmpStr;
Select *pSelect = &pPad->fileStuff.fileWidgets.select;
@@
-618,7
+618,7
@@
CreateSaveWarning(
Editor *pPad )
{
Arg al[10]; /* arg list */
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;
char buf[256];
Widget w, kid[5];
Pixel foreground, background;
@@
-901,7
+901,7
@@
AskIfSave(
Editor *pPad)
{
Arg al[10]; /* arg list */
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;
char *tmp = NULL;
XmString tmpStr;
Select *pSelect = &pPad->fileStuff.fileWidgets.select;