Skip to content
This repository was archived by the owner on Mar 7, 2021. It is now read-only.

Commit 83a0adb

Browse files
committed
sigh, C fixes
1 parent 7566935 commit 83a0adb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/helpers.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
#include <linux/bug.h>
12
#include <linux/printk.h>
23

34
int printk_helper(const unsigned char *s, int len)
45
{
56
return printk(KERN_INFO "%.*s", len, (const char *)s);
67
}
78

8-
void bug_helper()
9+
void bug_helper(void)
910
{
1011
BUG();
1112
}

0 commit comments

Comments
 (0)