From 0c165f56f584a3c6bad1e6454b082939841f02aa Mon Sep 17 00:00:00 2001 From: Pascal Stumpf Date: Mon, 22 Jul 2013 14:31:46 +0200 Subject: [PATCH] kill a few more warnings in DtPrint --- cde/include/Xm/XmPrivate.h | 12 ++++++++++++ cde/include/Xm/extractprototype.awk | 3 +++ cde/lib/DtPrint/PrintSetupB.c | 2 ++ cde/lib/DtPrint/PsubUtil.c | 1 + 4 files changed, 18 insertions(+) diff --git a/cde/include/Xm/XmPrivate.h b/cde/include/Xm/XmPrivate.h index c1f32333..46eb94d6 100644 --- a/cde/include/Xm/XmPrivate.h +++ b/cde/include/Xm/XmPrivate.h @@ -33,8 +33,20 @@ extern XmWidgetExtData _XmGetWidgetExtData( #else unsigned char extType) ; #endif /* NeedWidePrototypes */ +/* Extracted from BulletinBI.h */ +extern void _XmBulletinBoardSizeUpdate( + Widget wid) ; +extern void _XmBulletinBoardSetDynDefaultButton( + Widget wid, + Widget newDefaultButton) ; /* Extracted from IconFileP.h */ extern void XmeFlushIconFileCache(String path); +/* Extracted from ManagerI.h */ +extern void _XmManagerHelp( + Widget wid, + XEvent *event, + String *params, + Cardinal *num_params) ; /* Extracted from MenuStateI.h */ extern void _XmSetInDragMode( Widget widget, diff --git a/cde/include/Xm/extractprototype.awk b/cde/include/Xm/extractprototype.awk index 1f0aa14f..d6c46edb 100644 --- a/cde/include/Xm/extractprototype.awk +++ b/cde/include/Xm/extractprototype.awk @@ -66,4 +66,7 @@ function proto() { /_XmPrimitiveLeave/ { proto(); } /_XmPrimitiveFocusOut/ { proto(); } /_XmPrimitiveFocusIn\(/ { proto(); } +/_XmBulletinBoardSetDynDefaultButton/ { proto(); } +/_XmBulletinBoardSizeUpdate/ { proto(); } +/_XmManagerHelp/ { proto(); } /XmeFlushIconFileCache/ { proto(); } diff --git a/cde/lib/DtPrint/PrintSetupB.c b/cde/lib/DtPrint/PrintSetupB.c index 5835b0e3..f640eaac 100644 --- a/cde/lib/DtPrint/PrintSetupB.c +++ b/cde/lib/DtPrint/PrintSetupB.c @@ -45,6 +45,7 @@ #undef MAXINT #endif +#include #include #if defined(CSRG_BASED) #define MAXINT INT_MAX @@ -58,6 +59,7 @@ #include #include #include +#include #include
#include
diff --git a/cde/lib/DtPrint/PsubUtil.c b/cde/lib/DtPrint/PsubUtil.c index 6bca3a72..5d6b72c8 100644 --- a/cde/lib/DtPrint/PsubUtil.c +++ b/cde/lib/DtPrint/PsubUtil.c @@ -38,6 +38,7 @@ * Include Files * */ +#include #include #include #include
-- 2.25.1