Bug 2148487

Summary: tgif: Avoid implicit int for C99 compatibility
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: tgifAssignee: Florian Weimer <fweimer>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mtasaka
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tgif-4.2.5-26.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-25 16:11:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2141798    
Attachments:
Description Flags
tgif-c99.patch none

Description Florian Weimer 2022-11-25 16:09:50 UTC
Created attachment 1927442 [details]
tgif-c99.patch

Building tgif with a strict(er) C99 compiler currently fails because the source uses old-style function definitions, but does not specify the types of all parameters in some cases.

Old-style function definitions are still part of C99, but these implicit ints are not. Implicit int will likely become an error in the default language mode in a future GCC release.

Filing this here for tracking purposes, upstream doesn't seem to have a bug tracker.