Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 May 2023 21:30:15 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 74c810e22221 - main - net/dpdk*: Use valid prototypes for function declarations with no arguments.
Message-ID:  <202305232130.34NLUFY0017133@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/ports/commit/?id=74c810e22221e95130124559aaeb5e7a384360dc

commit 74c810e22221e95130124559aaeb5e7a384360dc
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-05-23 21:27:26 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-05-23 21:27:26 +0000

    net/dpdk*: Use valid prototypes for function declarations with no arguments.
    
    Reviewed by:    fuz, Bruce Richardson (maintainer)
    Differential Revision:  https://reviews.freebsd.org/D40170
---
 .../files/patch-kernel_freebsd_contigmem_contigmem.c | 20 ++++++++++++++++++++
 .../files/patch-kernel_freebsd_contigmem_contigmem.c | 20 ++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/net/dpdk-20.11/files/patch-kernel_freebsd_contigmem_contigmem.c b/net/dpdk-20.11/files/patch-kernel_freebsd_contigmem_contigmem.c
new file mode 100644
index 000000000000..fa54be32ef58
--- /dev/null
+++ b/net/dpdk-20.11/files/patch-kernel_freebsd_contigmem_contigmem.c
@@ -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;
+ 
diff --git a/net/dpdk/files/patch-kernel_freebsd_contigmem_contigmem.c b/net/dpdk/files/patch-kernel_freebsd_contigmem_contigmem.c
new file mode 100644
index 000000000000..bcf2930a29eb
--- /dev/null
+++ b/net/dpdk/files/patch-kernel_freebsd_contigmem_contigmem.c
@@ -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;
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305232130.34NLUFY0017133>