mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtpdm: Change to ANSI function definitions
This commit is contained in:
parent
1c545e12d2
commit
feee238aef
6 changed files with 8 additions and 8 deletions
|
@ -92,7 +92,7 @@ static void PdmJobBoxSetAttr(PdmSetupBox* me, PdmXp* pdm_xp);
|
|||
*
|
||||
*/
|
||||
PdmSetupBox*
|
||||
PdmJobBoxNew()
|
||||
PdmJobBoxNew(void)
|
||||
{
|
||||
PdmSetupBox* me = (PdmSetupBox*)XtCalloc(1, sizeof(PdmSetupBox));
|
||||
|
||||
|
|
|
@ -115,7 +115,7 @@ static Boolean PdmStartOkWorkProc(XtPointer client_data);
|
|||
*
|
||||
*/
|
||||
static PdmShell*
|
||||
PdmShellNew()
|
||||
PdmShellNew(void)
|
||||
{
|
||||
return (PdmShell*)XtCalloc(1, sizeof(PdmShell));
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -459,7 +459,7 @@ PdmOidListDelete(PdmOidList* list)
|
|||
*
|
||||
*/
|
||||
PdmOidLinkedList*
|
||||
PdmOidLinkedListNew()
|
||||
PdmOidLinkedListNew(void)
|
||||
{
|
||||
return (PdmOidLinkedList*)XtCalloc(1, sizeof(PdmOidLinkedList));
|
||||
}
|
||||
|
|
|
@ -69,7 +69,7 @@ static XrmDatabase PdmXpLoadPool(PdmXp* me, XPAttributes type);
|
|||
*
|
||||
*/
|
||||
PdmXp*
|
||||
PdmXpNew()
|
||||
PdmXpNew(void)
|
||||
{
|
||||
return (PdmXp*)XtCalloc(1, sizeof(PdmXp));
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue