From 2626c77209d3894dfd5c5128815a6b6f2f3b6683 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 17 Apr 2020 13:49:31 -0700 Subject: [PATCH] When GCC is run with more pedantic flags, it needs 'inline' before type Move 'inline' before 'unsigned long long' instead of after to make GCC happy. Signed-off-by: Keith Packard --- gloss/sys_times.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gloss/sys_times.c b/gloss/sys_times.c index 2ebae42f..f8f3e140 100644 --- a/gloss/sys_times.c +++ b/gloss/sys_times.c @@ -23,9 +23,8 @@ * timebase to be less than about 4,000,000,000,000 (4 trillion). */ -static unsigned long long inline muldiv(unsigned long long v, - unsigned long long num, - unsigned long long den) { +static inline unsigned long long +muldiv(unsigned long long v, unsigned long long num, unsigned long long den) { return (((v % den) * num) / den) + ((v / den) * num); }