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

dtpdmd: Change to ANSI function definitions

This commit is contained in:
Peter Howkins 2018-06-28 04:20:53 +01:00
parent feee238aef
commit e225c95486
2 changed files with 3 additions and 7 deletions

View file

@ -155,9 +155,7 @@ static void pusage( char *prog_name )
* *
*****************************************************************************/ *****************************************************************************/
static int generic_error_handler( edpy, eevent ) static int generic_error_handler(Display *edpy, XErrorEvent *eevent)
Display *edpy;
XErrorEvent *eevent;
{ {
g.xerrno = eevent->error_code; g.xerrno = eevent->error_code;
g.xerrreq = eevent->request_code; g.xerrreq = eevent->request_code;
@ -264,9 +262,7 @@ static void xtkick_proc( XtPointer w, int *source, XtInputId *id)
* main * main
*/ */
int int
main( argc, argv ) main(int argc, char **argv)
int argc;
char **argv;
{ {
int tscreen; int tscreen;
XtInputId xtid; XtInputId xtid;

View file

@ -894,7 +894,7 @@ Bool has_exec_token( XpPdmServiceRec *rec )
* Search through all the child tracking records and see if * Search through all the child tracking records and see if
* any can be shutdown. * any can be shutdown.
*/ */
void mgr_shutdown_scan() void mgr_shutdown_scan(void)
{ {
int i; int i;
time_t now; time_t now;