1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dticon: Change to ANSI function definitions

This commit is contained in:
Peter Howkins 2018-06-28 04:15:59 +01:00
parent 4cf746f177
commit 806257b154
4 changed files with 7 additions and 11 deletions

View file

@ -2360,7 +2360,7 @@ build_dtIconShell( void )
/******************************************************************************* /*******************************************************************************
NewGraphicsOp - sets the text in the instruction line NewGraphicsOp - sets the text in the instruction line
*******************************************************************************/ *******************************************************************************/
static void NewGraphicsOp() static void NewGraphicsOp(void)
{ {
static char *fillOnStr = NULL; static char *fillOnStr = NULL;
int fillOp = False; int fillOp = False;

View file

@ -801,7 +801,7 @@ Do_ButtonOp(
* the middle of a polyline or polygon is no longer allowed. * * the middle of a polyline or polygon is no longer allowed. *
***************************************************************************/ ***************************************************************************/
void void
EndPolyOp() EndPolyOp(void)
{ {
Anchored = False; Anchored = False;
Clear_ClickCount(); Clear_ClickCount();

View file

@ -658,7 +658,7 @@ edit_notifier(char* fname, Tt_message msg, int clear)
void void
send_tt_saved() send_tt_saved(void)
{ {
int mark; int mark;
int fd; int fd;

View file

@ -1588,7 +1588,7 @@ stat_out(
* * * *
*X11***********************************************************************/ *X11***********************************************************************/
void void
PixelTableClear() PixelTableClear(void)
{ {
pixelTable.numItems = 0; pixelTable.numItems = 0;
pixelTable.lastFound = 0; pixelTable.lastFound = 0;
@ -2228,9 +2228,7 @@ Set_Gfx_Labels(
***************************************************************************/ ***************************************************************************/
#define MAX_MSG_STR 1024 #define MAX_MSG_STR 1024
static int jskXerrorDebug(disp, error_event) static int jskXerrorDebug(Display *disp, XErrorEvent *error_event)
Display *disp;
XErrorEvent *error_event;
{ {
char error_msg[MAX_MSG_STR]; char error_msg[MAX_MSG_STR];
@ -2252,8 +2250,7 @@ XErrorEvent *error_event;
* * * *
* Purpose: This routine is needed in order to get good bfa (bba) stats * * Purpose: This routine is needed in order to get good bfa (bba) stats *
**************************************************************************/ **************************************************************************/
static int jskXerrorIODebug(disp) static int jskXerrorIODebug(Display *disp)
Display *disp;
{ {
exit (-1); exit (-1);
return (TRUE); return (TRUE);
@ -2484,8 +2481,7 @@ GetSessionInfo( void )
* Purpose: Put the file name in the window title... * * Purpose: Put the file name in the window title... *
***************************************************************************/ ***************************************************************************/
void void
ChangeTitle( ChangeTitle(void)
)
{ {
static char *dialogTitle = NULL; static char *dialogTitle = NULL;
Arg al[10]; Arg al[10];