From: Peter Howkins Date: Thu, 28 Jun 2018 03:20:10 +0000 (+0100) Subject: dtpdm: Change to ANSI function definitions X-Git-Tag: 2.3.0a~349 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=feee238aefafc7e8c7fcfa156756f73e6693c67d;p=oweals%2Fcde.git dtpdm: Change to ANSI function definitions --- diff --git a/cde/programs/dtpdm/JobBox.c b/cde/programs/dtpdm/JobBox.c index 01209384..53ec3127 100644 --- a/cde/programs/dtpdm/JobBox.c +++ b/cde/programs/dtpdm/JobBox.c @@ -92,7 +92,7 @@ static void PdmJobBoxSetAttr(PdmSetupBox* me, PdmXp* pdm_xp); * */ PdmSetupBox* -PdmJobBoxNew() +PdmJobBoxNew(void) { PdmSetupBox* me = (PdmSetupBox*)XtCalloc(1, sizeof(PdmSetupBox)); diff --git a/cde/programs/dtpdm/Main.c b/cde/programs/dtpdm/Main.c index 8af341cd..078e8caf 100644 --- a/cde/programs/dtpdm/Main.c +++ b/cde/programs/dtpdm/Main.c @@ -115,7 +115,7 @@ static Boolean PdmStartOkWorkProc(XtPointer client_data); * */ static PdmShell* -PdmShellNew() +PdmShellNew(void) { return (PdmShell*)XtCalloc(1, sizeof(PdmShell)); } diff --git a/cde/programs/dtpdm/MainWindow.c b/cde/programs/dtpdm/MainWindow.c index c449dd41..8257d9d1 100644 --- a/cde/programs/dtpdm/MainWindow.c +++ b/cde/programs/dtpdm/MainWindow.c @@ -87,7 +87,7 @@ static void PdmMainWinHelpDestroyCB(Widget, XtPointer, XtPointer); * */ PdmMainWin* -PdmMainWinNew() +PdmMainWinNew(void) { PdmMainWin* me = (PdmMainWin*)XtCalloc(1, sizeof(PdmMainWin)); me->pdm_xp = PdmXpNew(); diff --git a/cde/programs/dtpdm/PdmOid.c b/cde/programs/dtpdm/PdmOid.c index 92c055e0..c142f71e 100644 --- a/cde/programs/dtpdm/PdmOid.c +++ b/cde/programs/dtpdm/PdmOid.c @@ -459,7 +459,7 @@ PdmOidListDelete(PdmOidList* list) * */ PdmOidLinkedList* -PdmOidLinkedListNew() +PdmOidLinkedListNew(void) { return (PdmOidLinkedList*)XtCalloc(1, sizeof(PdmOidLinkedList)); } diff --git a/cde/programs/dtpdm/PdmXp.c b/cde/programs/dtpdm/PdmXp.c index 912e923d..05b2b4ef 100644 --- a/cde/programs/dtpdm/PdmXp.c +++ b/cde/programs/dtpdm/PdmXp.c @@ -69,7 +69,7 @@ static XrmDatabase PdmXpLoadPool(PdmXp* me, XPAttributes type); * */ PdmXp* -PdmXpNew() +PdmXpNew(void) { return (PdmXp*)XtCalloc(1, sizeof(PdmXp)); } diff --git a/cde/programs/dtpdm/PrinterBox.c b/cde/programs/dtpdm/PrinterBox.c index bec8f05a..d1847eef 100644 --- a/cde/programs/dtpdm/PrinterBox.c +++ b/cde/programs/dtpdm/PrinterBox.c @@ -405,7 +405,7 @@ static String GetIconFileName(Widget w, String resource_name); * */ PdmSetupBox* -PdmPrinterBoxNew() +PdmPrinterBoxNew(void) { PdmSetupBox* me = (PdmSetupBox*)XtCalloc(1, sizeof(PdmSetupBox)); PdmPrinterBoxData* data; @@ -1379,7 +1379,7 @@ OrientCtlGetOrientation(OrientCtl* me) * */ static PlexCtl* -PlexCtlNew() +PlexCtlNew(void) { PlexCtl* me = (PlexCtl*)XtCalloc(1, sizeof(PlexCtl)); me->pixmap_list_ptr = &me->portrait_pixmap_list; @@ -2246,7 +2246,7 @@ TrayCtlSelectCB(Widget w, XtPointer client_data, XtPointer call_data) * */ static SizeCtl* -SizeCtlNew() +SizeCtlNew(void) { SizeCtl* me = (SizeCtl*)XtCalloc(1, sizeof(SizeCtl)); return me;