Skip to content

Commit

Permalink
Move inline keyword forward in accelerate
Browse files Browse the repository at this point in the history
fixes old-style-declaration warning in GCC
  • Loading branch information
gnusenpai committed Dec 8, 2024
1 parent 462b0c4 commit 07c8bbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/accelk.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "linux/ktime.h"
#include "params.h"

static AccelResult inline accelerate(int x, int y) {
static inline AccelResult accelerate(int x, int y) {
static ktime_t last;
static u64 last_ms = 1;

Expand Down

0 comments on commit 07c8bbb

Please # to comment.