Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include Do a little const cleanup, for consistency with std ...



details:   https://anonhg.NetBSD.org/src/rev/2d036c81e050
branches:  trunk
changeset: 556613:2d036c81e050
user:      kleink <kleink%NetBSD.org@localhost>
date:      Sun Dec 21 23:19:02 2003 +0000

description:
Do a little const cleanup, for consistency with std interfaces.

diffstat:

 include/time.h |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 0742af28b8ba -r 2d036c81e050 include/time.h
--- a/include/time.h    Sun Dec 21 21:42:48 2003 +0000
+++ b/include/time.h    Sun Dec 21 23:19:02 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: time.h,v 1.32 2003/09/13 22:31:04 kleink Exp $ */
+/*     $NetBSD: time.h,v 1.33 2003/12/21 23:19:02 kleink Exp $ */
 
 /*
  * Copyright (c) 1989, 1993
@@ -159,14 +159,14 @@
 #if defined(_NETBSD_SOURCE)
 time_t time2posix __P((time_t));
 time_t posix2time __P((time_t));
-time_t timegm __P((struct tm *const));
-time_t timeoff __P((struct tm *const, const long));
-time_t timelocal __P((struct tm *const));
+time_t timegm __P((struct tm *));
+time_t timeoff __P((struct tm *, long));
+time_t timelocal __P((struct tm *));
 #ifdef __LIBC12_SOURCE__
 char *timezone __P((int, int));
 #endif
 void tzsetwall __P((void));
-struct tm *offtime __P((const time_t *const, const long));
+struct tm *offtime __P((const time_t *, long));
 #endif /* _NETBSD_SOURCE */
 
 #endif /* !_ANSI_SOURCE */



Home | Main Index | Thread Index | Old Index