Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Nov 2022 20:35:33 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 10e804b62838 - main - ashldi3: Use C89-style function definition
Message-ID:  <202211272035.2ARKZXR0008734@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=10e804b6283884f9073614483f6ddf57bb11b580

commit 10e804b6283884f9073614483f6ddf57bb11b580
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-11-27 20:23:25 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-11-27 20:23:25 +0000

    ashldi3: Use C89-style function definition
    
    Use the 'prototype' style function definition. No functional change.
    
    Sponsored by:           Netflix
---
 sys/libkern/ashldi3.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sys/libkern/ashldi3.c b/sys/libkern/ashldi3.c
index 583a1b72cb89..8e8462a60e64 100644
--- a/sys/libkern/ashldi3.c
+++ b/sys/libkern/ashldi3.c
@@ -43,9 +43,7 @@ __FBSDID("$FreeBSD$");
  * This is the same as logical shift left!
  */
 quad_t
-__ashldi3(a, shift)
-	quad_t a;
-	qshift_t shift;
+__ashldi3(quad_t a, qshift_t shift)
 {
 	union uu aa;
 



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