summaryrefslogtreecommitdiff
path: root/nuttx/sched
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched')
-rw-r--r--nuttx/sched/clock_internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/sched/clock_internal.h b/nuttx/sched/clock_internal.h
index aba9723b6..db857743e 100644
--- a/nuttx/sched/clock_internal.h
+++ b/nuttx/sched/clock_internal.h
@@ -1,7 +1,7 @@
/********************************************************************************
* sched/clock_internal.h
*
- * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
@@ -80,7 +80,9 @@ extern struct timespec g_basetime;
********************************************************************************/
void weak_function clock_initialize(void);
+#ifndef CONFIG_SCHED_TICKLESS
void weak_function clock_timer(void);
+#endif
int clock_abstime2ticks(clockid_t clockid,
FAR const struct timespec *abstime,