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:
Marcin Cieslak
2012-09-18 04:02:28 +02:00
committed by Jon Trulson
parent f55dfc34c0
commit 1079b56422
43 changed files with 240 additions and 99 deletions

View File

@@ -87,6 +87,8 @@
#include <Dt/IconP.h>
#include <Dt/IconFile.h>
#include <Dt/TitleBox.h>
#include <Dt/Dts.h>
#include <Dt/SharedProcs.h>
#include <X11/ShellP.h>
#include <X11/Shell.h>
@@ -1871,9 +1873,9 @@ OkCallback(
old = (ModAttrData *) old_dialog->data;
if(RecheckFlag(NULL,w))
return;
return None;
else if(RecheckFlag(NULL,close))
return;
return None;
new_attr_data = (ModAttrData *) XtCalloc (1, sizeof (ModAttrData));
new_attr_data->displayed = True;