dtfile: Add missing prototypes
Add missing prototypes and header files to the dtfile code in order to move closer towards 64-bit compatibility. Extract the following functions from Motif internal headers: _XmGetWidgetExtData _XmRecordEvent _XmStringUngenerate _XmTextFieldSetDestination _XmGetActiveTopLevelMenu Extract manually prototypes of the obsolete Motif interface: _XmHighlightBorder _XmUnhighlightBorder Remove XmPrivate.h if extractprototype.awk fails Make the following header files available via -I: codelibs/boolean.h codelibs/pathutils.h codelibs/shellutils.h and remove shellutils.h from dtwm directory.
This commit is contained in:
committed by
Jon Trulson
parent
f55dfc34c0
commit
1079b56422
@@ -98,6 +98,8 @@
|
||||
#include <Xm/XmP.h>
|
||||
#include <Xm/Xm.h>
|
||||
#include <Xm/MwmUtil.h>
|
||||
#include <Xm/TextF.h>
|
||||
#include <Xm/ScrollBar.h>
|
||||
#include <X11/ShellP.h>
|
||||
#include <X11/Shell.h>
|
||||
#include <X11/Xutil.h>
|
||||
@@ -116,6 +118,7 @@
|
||||
#include <Dt/Wsm.h>
|
||||
#include <Dt/DtNlUtils.h>
|
||||
#include <Dt/HourGlass.h>
|
||||
#include <Dt/SharedProcs.h>
|
||||
|
||||
#include <Tt/tttk.h>
|
||||
|
||||
@@ -607,7 +610,7 @@ FileMoveCopyProcess(
|
||||
rc = -1;
|
||||
write(pipe_s2m, &pipe_msg, sizeof(short));
|
||||
write(pipe_s2m, &rc, sizeof(int));
|
||||
return;
|
||||
return rc;
|
||||
}
|
||||
|
||||
DtEliminateDots(target_dir);
|
||||
@@ -1306,7 +1309,7 @@ FileMoveCopyProcessDesktop(
|
||||
rc = -1;
|
||||
write(pipe_s2m, &pipe_msg, sizeof(short));
|
||||
write(pipe_s2m, &rc, sizeof(int));
|
||||
return;
|
||||
return rc;
|
||||
}
|
||||
DtEliminateDots(to);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user