Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323
uae
xdms-Patch-for-gcc-10.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xdms-Patch-for-gcc-10.patch of Package uae
From 5e282f123ae2bb3b24fb577f6e317b50f3cb8ba0 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla <gwync@protonmail.com> Date: Mon, 21 Oct 2019 16:46:17 -0500 Subject: [PATCH] Patch for gcc 10, from law@redhat.com --- src/dms/u_deep.c | 12 ++++++------ src/dms/u_heavy.c | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/dms/u_deep.c b/src/dms/u_deep.c index e1e5dca..095de21 100644 --- a/src/dms/u_deep.c +++ b/src/dms/u_deep.c @@ -17,9 +17,9 @@ #include "getbits.h" -INLINE USHORT DecodeChar(void); -INLINE USHORT DecodePosition(void); -INLINE void update(USHORT c); +static INLINE USHORT DecodeChar(void); +static INLINE USHORT DecodePosition(void); +static INLINE void update(USHORT c); static void reconst(void); @@ -98,7 +98,7 @@ USHORT Unpack_DEEP(UCHAR *in, UCHAR *out, USHORT origsize){ -INLINE USHORT DecodeChar(void){ +static INLINE USHORT DecodeChar(void){ USHORT c; c = son[R]; @@ -117,7 +117,7 @@ INLINE USHORT DecodeChar(void){ -INLINE USHORT DecodePosition(void){ +static INLINE USHORT DecodePosition(void){ USHORT i, j, c; i = GETBITS(8); DROPBITS(8); @@ -171,7 +171,7 @@ static void reconst(void){ /* increment frequency of given code by one, and update tree */ -INLINE void update(USHORT c){ +static INLINE void update(USHORT c){ USHORT i, j, k, l; if (freq[R] == MAX_FREQ) { diff --git a/src/dms/u_heavy.c b/src/dms/u_heavy.c index 3ec09c2..6cacac5 100644 --- a/src/dms/u_heavy.c +++ b/src/dms/u_heavy.c @@ -30,8 +30,8 @@ USHORT heavy_text_loc, heavy_lastlen; static USHORT read_tree_c(void); static USHORT read_tree_p(void); -INLINE USHORT decode_c(void); -INLINE USHORT decode_p(void); +static INLINE USHORT decode_c(void); +static INLINE USHORT decode_p(void); @@ -74,7 +74,7 @@ USHORT Unpack_HEAVY(UCHAR *in, UCHAR *out, UCHAR flags, USHORT origsize){ -INLINE USHORT decode_c(void){ +static INLINE USHORT decode_c(void){ USHORT i, j, m; j = c_table[GETBITS(12)]; @@ -96,7 +96,7 @@ INLINE USHORT decode_c(void){ -INLINE USHORT decode_p(void){ +static INLINE USHORT decode_p(void){ USHORT i, j, m; j = pt_table[GETBITS(8)]; -- GitLab
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor