aboutsummaryrefslogtreecommitdiff
path: root/include/apos
diff options
context:
space:
mode:
Diffstat (limited to 'include/apos')
-rw-r--r--include/apos/debug.h2
-rw-r--r--include/apos/uapi.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/include/apos/debug.h b/include/apos/debug.h
index db0e1b5..6d428fe 100644
--- a/include/apos/debug.h
+++ b/include/apos/debug.h
@@ -329,7 +329,7 @@ enum serial_dev {
*
* @param fmt Format string. Integer subset of normal printf formatting.
*/
-void __printf dbg(const char *fmt, ...);
+void dbg(const char *fmt, ...) __printf;
/**
* Initialize debugging, set up serial driver etc.
diff --git a/include/apos/uapi.h b/include/apos/uapi.h
index db33abc..6832f79 100644
--- a/include/apos/uapi.h
+++ b/include/apos/uapi.h
@@ -301,12 +301,12 @@ SYSCALL_DECLARE0(timebase);
* Request timer that triggers a number of ticks in the future.
*
* @param ticks Number of ticks from now.
- * @param repeat Number of times to trigger.
+ * @param mult Number of times to trigger.
* @param c Unused.
* @param d Unused.
* @return \ref OK and ID of timer.
*/
-SYSCALL_DECLARE2(req_rel_timer, ticks, repeat);
+SYSCALL_DECLARE2(req_rel_timer, ticks, mult);
/**
* Request absolute timer syscall.
@@ -314,13 +314,13 @@ SYSCALL_DECLARE2(req_rel_timer, ticks, repeat);
* Request timer that triggers at some absolute timepoint.
*
* @param ticks Timepoint.
- * @param repeat Number of times to trigger. (What? Why is this here?).
+ * @param mult Multiplier.
* @param c Unused.
* @param d Unused.
* @return \ref OK and ID of timer.
* \todo Check repeat value.
*/
-SYSCALL_DECLARE2(req_abs_timer, ticks, repeat);
+SYSCALL_DECLARE2(req_abs_timer, ticks, mult);
/**
* Free timer syscall.