Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2023 18:31:41 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 274c18c2bde6 - main - pnpinfo: Use C89 function definitions.
Message-ID:  <202304181831.33IIVfjo028503@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/src/commit/?id=274c18c2bde61f718f4641e9c5698a2d5c0dbc20

commit 274c18c2bde61f718f4641e9c5698a2d5c0dbc20
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-04-18 18:31:13 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-04-18 18:31:13 +0000

    pnpinfo: Use C89 function definitions.
    
    Reviewed by:    emaste
    Differential Revision:  https://reviews.freebsd.org/D39534
---
 contrib/pnpinfo/pnpinfo.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/contrib/pnpinfo/pnpinfo.c b/contrib/pnpinfo/pnpinfo.c
index 90c273d49364..e13ea0d99f57 100644
--- a/contrib/pnpinfo/pnpinfo.c
+++ b/contrib/pnpinfo/pnpinfo.c
@@ -110,7 +110,7 @@ DELAY (int i)
  * Intel May 94."
  */
 void
-send_Initiation_LFSR()
+send_Initiation_LFSR(void)
 {
     int cur, i;
 
@@ -189,8 +189,7 @@ get_resource_info(u_char *buffer, int len)
 }
 
 void
-report_dma_info (x)
-	int x;
+report_dma_info(int x)
 {
     char *s1=NULL, *s2=NULL, *s3=NULL, *s4=NULL, *s5=NULL;
 
@@ -556,7 +555,7 @@ dump_resdata(u_char *data, int csn)
  *
  */
 int
-isolation_protocol()
+isolation_protocol(void)
 {
     int csn;
     u_char data[9];



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