From 558ba97bdeac5a68bb9248a5c4cdf2feeb24e771 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Fri, 16 Jul 2010 12:45:40 +0300 Subject: Move to gawk-3.0.1. --- vms/vms_misc.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'vms/vms_misc.c') diff --git a/vms/vms_misc.c b/vms/vms_misc.c index 748b3b94..d876534c 100644 --- a/vms/vms_misc.c +++ b/vms/vms_misc.c @@ -3,7 +3,7 @@ */ /* - * Copyright (C) 1991-1993 the Free Software Foundation, Inc. + * Copyright (C) 1991-1993, 1996 the Free Software Foundation, Inc. * * This file is part of GAWK, the GNU implementation of the * AWK Programming Language. @@ -58,11 +58,12 @@ vms_exit( int final_status ) #ifdef strerror # undef strerror #endif +extern char *strerror P((int,...)); + /* vms_strerror() -- convert numeric error code into text string */ char * vms_strerror( int errnum ) { - extern char *strerror P((int,...)); return ( errnum != EVMSERR ? strerror(errnum) : strerror(EVMSERR, vaxc$errno) ); } @@ -169,14 +170,14 @@ vms_devopen( const char *name, int mode ) } /* - * VMS has no timezone support. + * VMS prior to V7.x has no timezone support unless DECnet/OSI is used. */ /* these are global for use by missing/strftime.c */ char *tzname[2] = { "local", "" }; int daylight = 0, timezone = 0, altzone = 0; -/* dummy to satisfy linker */ -void tzset() +/* tzset() -- dummy to satisfy linker */ +void tzset(void) { return; } @@ -184,7 +185,7 @@ void tzset() /* getpgrp() -- there's no such thing as process group under VMS; * job tree might be close enough to be useful though. */ -int getpgrp() +int getpgrp(void) { return 0; } -- cgit v1.2.3