Source-Changes-HG archive

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

[src/trunk]: src/tools/compat/dev remove unused constants (Kamil Rytarowski)



details:   https://anonhg.NetBSD.org/src/rev/834129e09935
branches:  trunk
changeset: 335037:834129e09935
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Dec 22 18:08:39 2014 +0000

description:
remove unused constants (Kamil Rytarowski)

diffstat:

 tools/compat/dev/clock_subr.h |  9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diffs (21 lines):

diff -r f3e3d149e39f -r 834129e09935 tools/compat/dev/clock_subr.h
--- a/tools/compat/dev/clock_subr.h     Mon Dec 22 18:02:52 2014 +0000
+++ b/tools/compat/dev/clock_subr.h     Mon Dec 22 18:08:39 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: clock_subr.h,v 1.2 2014/09/07 11:50:23 martin Exp $    */
+/*     $NetBSD: clock_subr.h,v 1.3 2014/12/22 18:08:39 christos Exp $  */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -52,11 +52,4 @@
 time_t clock_ymdhms_to_secs(struct clock_ymdhms *);
 int    clock_secs_to_ymdhms(time_t, struct clock_ymdhms *);
 
-/* Some handy constants. */
-#define SECDAY         (24 * 60 * 60)
-#define SECYR          (SECDAY * 365)
-
-/* Traditional POSIX base year */
-#define        POSIX_BASE_YEAR 1970
-
 #endif /* _DEV_CLOCK_SUBR_H_ */



Home | Main Index | Thread Index | Old Index