summaryrefslogtreecommitdiff
path: root/nuttx/include/sys
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-08-07 12:35:24 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-08-07 12:35:24 -0600
commit6c1d3a968a290e3d09cfc62cdc1a0257d4d4f458 (patch)
treed1f3f6268bff752463cec686ca851f7b0f619051 /nuttx/include/sys
parentc029edd96276fe7efa15992a5dd0da47920a2adb (diff)
downloadnuttx-6c1d3a968a290e3d09cfc62cdc1a0257d4d4f458.tar.gz
nuttx-6c1d3a968a290e3d09cfc62cdc1a0257d4d4f458.tar.bz2
nuttx-6c1d3a968a290e3d09cfc62cdc1a0257d4d4f458.zip
Remove CONFIG_DISABLE_CLOCK
Diffstat (limited to 'nuttx/include/sys')
-rw-r--r--nuttx/include/sys/syscall.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/nuttx/include/sys/syscall.h b/nuttx/include/sys/syscall.h
index 142c583ac..b7e76f032 100644
--- a/nuttx/include/sys/syscall.h
+++ b/nuttx/include/sys/syscall.h
@@ -2,7 +2,7 @@
* include/sys/syscall.h
* This file contains the system call numbers.
*
- * Copyright (C) 2011-2013 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2011-2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -173,16 +173,12 @@
* NuttX configuration.
*/
-#ifndef CONFIG_DISABLE_CLOCK
-# define SYS_clock_systimer (__SYS_clock+0)
-# define SYS_clock_getres (__SYS_clock+1)
-# define SYS_clock_gettime (__SYS_clock+2)
-# define SYS_clock_settime (__SYS_clock+3)
-# define SYS_gettimeofday (__SYS_clock+4)
-# define __SYS_timers (__SYS_clock+5)
-#else
-# define __SYS_timers __SYS_clock
-#endif
+#define SYS_clock_systimer (__SYS_clock+0)
+#define SYS_clock_getres (__SYS_clock+1)
+#define SYS_clock_gettime (__SYS_clock+2)
+#define SYS_clock_settime (__SYS_clock+3)
+#define SYS_gettimeofday (__SYS_clock+4)
+#define __SYS_timers (__SYS_clock+5)
/* The following are defined only if POSIX timers are supported */