net/dpdk*: Use valid prototypes for function declarations with no arguments.
Reviewed by: fuz, Bruce Richardson (maintainer) Differential Revision: https://reviews.freebsd.org/D40170
This commit is contained in:
parent
5bb24584cf
commit
74c810e222
2 changed files with 40 additions and 0 deletions
|
@ -0,0 +1,20 @@
|
|||
--- kernel/freebsd/contigmem/contigmem.c.orig 2023-05-20 00:00:38 UTC
|
||||
+++ kernel/freebsd/contigmem/contigmem.c
|
||||
@@ -111,7 +111,7 @@ static int
|
||||
};
|
||||
|
||||
static int
|
||||
-contigmem_load()
|
||||
+contigmem_load(void)
|
||||
{
|
||||
char index_string[8], description[32];
|
||||
int i, error = 0;
|
||||
@@ -178,7 +178,7 @@ static int
|
||||
}
|
||||
|
||||
static int
|
||||
-contigmem_unload()
|
||||
+contigmem_unload(void)
|
||||
{
|
||||
int i;
|
||||
|
20
net/dpdk/files/patch-kernel_freebsd_contigmem_contigmem.c
Normal file
20
net/dpdk/files/patch-kernel_freebsd_contigmem_contigmem.c
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- kernel/freebsd/contigmem/contigmem.c.orig 2023-05-19 13:59:05 UTC
|
||||
+++ kernel/freebsd/contigmem/contigmem.c
|
||||
@@ -111,7 +111,7 @@ static int
|
||||
};
|
||||
|
||||
static int
|
||||
-contigmem_load()
|
||||
+contigmem_load(void)
|
||||
{
|
||||
char index_string[8], description[32];
|
||||
int i, error = 0;
|
||||
@@ -178,7 +178,7 @@ static int
|
||||
}
|
||||
|
||||
static int
|
||||
-contigmem_unload()
|
||||
+contigmem_unload(void)
|
||||
{
|
||||
int i;
|
||||
|
Loading…
Reference in a new issue