dtpdm: Change to ANSI function definitions
authorPeter Howkins <flibble@users.sf.net>
Thu, 28 Jun 2018 03:20:10 +0000 (04:20 +0100)
committerPeter Howkins <flibble@users.sf.net>
Thu, 28 Jun 2018 03:20:10 +0000 (04:20 +0100)
cde/programs/dtpdm/JobBox.c
cde/programs/dtpdm/Main.c
cde/programs/dtpdm/MainWindow.c
cde/programs/dtpdm/PdmOid.c
cde/programs/dtpdm/PdmXp.c
cde/programs/dtpdm/PrinterBox.c

index 0120938445e1b7b0704a038d5f657823d6d29948..53ec31277805229b923b055c019e5a4c7026cf31 100644 (file)
@@ -92,7 +92,7 @@ static void PdmJobBoxSetAttr(PdmSetupBox* me, PdmXp* pdm_xp);
  *
  */
 PdmSetupBox*
-PdmJobBoxNew()
+PdmJobBoxNew(void)
 {
     PdmSetupBox* me = (PdmSetupBox*)XtCalloc(1, sizeof(PdmSetupBox));
 
index 8af341cdee7deacfbb4768e0875f1b9b77ff28fa..078e8caf8c5e33b3bf02b0f74a6a1df8ea2db3dd 100644 (file)
@@ -115,7 +115,7 @@ static Boolean PdmStartOkWorkProc(XtPointer client_data);
  *
  */
 static PdmShell*
-PdmShellNew()
+PdmShellNew(void)
 {
     return (PdmShell*)XtCalloc(1, sizeof(PdmShell));
 }
index c449dd41faade8f4e6480ca14a8176dca9992ee9..8257d9d17731a9a65ea45161fa7639fdc8fdd77a 100644 (file)
@@ -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();
index 92c055e0d3fc62ddd3947369a09bf9859c8b6980..c142f71e6e4bfd4242a3fc6edf40a9854ca8c750 100644 (file)
@@ -459,7 +459,7 @@ PdmOidListDelete(PdmOidList* list)
  *
  */
 PdmOidLinkedList*
-PdmOidLinkedListNew()
+PdmOidLinkedListNew(void)
 {
     return (PdmOidLinkedList*)XtCalloc(1, sizeof(PdmOidLinkedList));
 }
index 912e923d2a72236d832518d758d5ac909f34c772..05b2b4ef90fb8fef3edcddc8d7b4a96fafbc8e73 100644 (file)
@@ -69,7 +69,7 @@ static XrmDatabase PdmXpLoadPool(PdmXp* me, XPAttributes type);
  *
  */
 PdmXp*
-PdmXpNew()
+PdmXpNew(void)
 {
     return (PdmXp*)XtCalloc(1, sizeof(PdmXp));
 }
index bec8f05ab7c557544d001fb59d9952f4ba980cfe..d1847eef073d7f3ef156f2c06851358ef2abc5fa 100644 (file)
@@ -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;