struct exit_control_block
{
struct exit_control_block *flink;
- unsigned long int (*exit_routine)();
+ unsigned long int (*exit_routine)(void);
unsigned long int arg_count;
unsigned long int *status_address;
unsigned long int exit_status;
static unsigned long int
-pipe_exit_routine()
+pipe_exit_routine(void)
{
pInfo info;
unsigned long int retsts = SS$_NORMAL, abort = SS$_TIMEOUT;
static unsigned short child_chan;/* I/O Channel for Pipe Mailbox */
-static unsigned long int exit_handler(int *status)
+static unsigned long int exit_handler(void)
{
short iosb[4];
static int vfork_called;
-/*{{{int my_vfork()*/
+/*{{{int my_vfork(void)*/
int
-my_vfork()
+my_vfork(void)
{
vfork_called++;
return vfork();
static time_t toutc_dst(time_t loc) {
struct tm *rsltmp;
- if ((rsltmp = localtime(&loc)) == NULL) return -1;
+ if ((rsltmp = localtime(&loc)) == NULL) return -1u;
loc -= utc_offset_secs;
if (rsltmp->tm_isdst) loc -= 3600;
return loc;
struct tm *rsltmp;
utc += utc_offset_secs;
- if ((rsltmp = localtime(&utc)) == NULL) return -1;
+ if ((rsltmp = localtime(&utc)) == NULL) return -1u;
if (rsltmp->tm_isdst) utc += 3600;
return utc;
}