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

@@ -65,6 +65,7 @@
#include <Xm/Form.h>
#include <Xm/Frame.h>
#include <Xm/BulletinB.h>
#include <Xm/MessageB.h>
#include <Xm/Text.h>
#include <Xm/TextF.h>
#include <Xm/ScrolledW.h>
@@ -81,6 +82,11 @@
#define TOP_SPACING (VERTICAL_SPACING + 5)
#define INDENTED_SPACING (HORIZONTAL_SPACING + 5)
/* Cannot put into sharedFuncs.h due to conflict with FileManip.c */
extern int Check(
register char *spth,
register char *dpth,
int mode);
/*--------------------------------------------------------------------
* Global variables