From 62fc51338d7259c2ea39f38bd8c7d9552e9b2002 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 12 Jun 2022 16:18:47 +0300 Subject: doxygen shows no warnings + Does not mean documentation is done, but it's a nice little achievement nonetheless. --- include/apos/debug.h | 2 +- include/apos/uapi.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'include') 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. -- cgit v1.3