summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/timezone.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-02-01 01:08:48 +0000
committerobrien <obrien@FreeBSD.org>2002-02-01 01:08:48 +0000
commit21d62aab619b3796c765c898c9caaa4179629580 (patch)
tree8179b431c3e3ff86ad8d0302e31673509ac370ce /lib/libc/gen/timezone.c
parent675250e8eb2f1e93e8238f6611a7c3ae8d42d264 (diff)
downloadFreeBSD-src-21d62aab619b3796c765c898c9caaa4179629580.zip
FreeBSD-src-21d62aab619b3796c765c898c9caaa4179629580.tar.gz
* Remove 'register'. (some functions had 7+ register functions...)
* Fix SCM ID's.
Diffstat (limited to 'lib/libc/gen/timezone.c')
-rw-r--r--lib/libc/gen/timezone.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc/gen/timezone.c b/lib/libc/gen/timezone.c
index 74086ef..c9d5957 100644
--- a/lib/libc/gen/timezone.c
+++ b/lib/libc/gen/timezone.c
@@ -34,6 +34,8 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)timezone.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/time.h>
@@ -59,7 +61,7 @@ timezone(zone, dst)
int zone,
dst;
{
- register char *beg,
+ char *beg,
*end;
if ( (beg = getenv("TZNAME")) ) { /* set in environment */
@@ -109,11 +111,11 @@ static struct zone {
*/
char *
_tztab(zone,dst)
- register int zone;
+ int zone;
int dst;
{
- register struct zone *zp;
- register char sign;
+ struct zone *zp;
+ char sign;
for (zp = zonetab; zp->offset != -1;++zp) /* static tables */
if (zp->offset == zone) {
OpenPOWER on IntegriCloud