dtpdmd: Change to ANSI function definitions
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user