From: Helge Deller Date: Thu, 10 Aug 2023 16:31:47 +0000 (+0200) Subject: parisc: ucmpdi2: Fix no previous prototype for '__ucmpdi2' warning X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=438e9230d60ed8771db5770c3c795f3272ef7aae;p=linux.git parisc: ucmpdi2: Fix no previous prototype for '__ucmpdi2' warning Signed-off-by: Helge Deller --- diff --git a/arch/parisc/lib/ucmpdi2.c b/arch/parisc/lib/ucmpdi2.c index 8e6014a142ef4..9d8b4dbae2739 100644 --- a/arch/parisc/lib/ucmpdi2.c +++ b/arch/parisc/lib/ucmpdi2.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include +#include union ull_union { unsigned long long ull; @@ -9,7 +10,7 @@ union ull_union { } ui; }; -int __ucmpdi2(unsigned long long a, unsigned long long b) +word_type __ucmpdi2(unsigned long long a, unsigned long long b) { union ull_union au = {.ull = a}; union ull_union bu = {.ull = b};