Skip to content

Commit

Permalink
parisc: ucmpdi2: Fix no previous prototype for '__ucmpdi2' warning
Browse files Browse the repository at this point in the history
Signed-off-by: Helge Deller <deller@gmx.de>
  • Loading branch information
Helge Deller committed Aug 10, 2023
1 parent eed869a commit 438e923
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/parisc/lib/ucmpdi2.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
#include <linux/module.h>
#include <linux/libgcc.h>

union ull_union {
unsigned long long ull;
Expand All @@ -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};
Expand Down

0 comments on commit 438e923

Please sign in to comment.