Skip to content

Commit

Permalink
[PATCH] time.h: remove ifdefs
Browse files Browse the repository at this point in the history
Remove these ifdefs - there's no need to have more than one definition of
these multipliers anywhere.

Cc: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Sep 10, 2005
1 parent 84f902c commit 373016e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions include/linux/time.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,9 @@ struct timezone {

/* Parameters used to convert the timespec values */
#define MSEC_PER_SEC (1000L)

#ifndef USEC_PER_SEC
#define USEC_PER_SEC (1000000L)
#endif

#ifndef NSEC_PER_SEC
#define NSEC_PER_SEC (1000000000L)
#endif

#ifndef NSEC_PER_USEC
#define NSEC_PER_USEC (1000L)
#endif

static __inline__ int timespec_equal(struct timespec *a, struct timespec *b)
{
Expand Down

0 comments on commit 373016e

Please sign in to comment.