aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-06-12 16:18:47 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-06-12 16:18:47 +0300
commit62fc51338d7259c2ea39f38bd8c7d9552e9b2002 (patch)
tree87eb670ed58b3ce0d5c0e2ad39f5c633d9e10e40 /include
parent6c529c5c6c2d016d77b143171c5e27fbec0d2bfd (diff)
downloadkmi-62fc51338d7259c2ea39f38bd8c7d9552e9b2002.tar.gz
kmi-62fc51338d7259c2ea39f38bd8c7d9552e9b2002.zip
doxygen shows no warnings
+ Does not mean documentation is done, but it's a nice little achievement nonetheless.
Diffstat (limited to 'include')
-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.