git: 10e804b62838 - main - ashldi3: Use C89-style function definition
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Nov 2022 20:35:33 UTC
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;