Bug 17944

Summary: patch to avoid gcc warning for libXpm
Product: xorg Reporter: Peter Breitenlohner <peb>
Component: Lib/XpmAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: janitor, patch
Version: 7.3 (2007.09)   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
patch to avoid gcc warning none

Description Peter Breitenlohner 2008-10-07 04:39:19 UTC
Created attachment 19434 [details] [review]
patch to avoid gcc warning

Attached is a small patch avoiding a gcc warning for libXpm (V 3.5.7)
Comment 1 Alan Coopersmith 2008-10-20 19:37:28 UTC
Patch pushed to git master, thanks for the fix:

commit 41e4e2de4d73d098d332ece0410e9f8fda4fe10d
Author: Peter Breitenlohner <peb@mppmu.mpg.de>
Date:   Mon Oct 20 19:36:52 2008 -0700

    X.Org Bug 17944: avoid gcc warning for libXpm
    
    <http://bugs.freedesktop.org/show_bug.cgi?id=17944>
    
    Avoid the gcc warning
    cxpm/cxpm.c:102: warning: no previous prototype for 'ErrorMessage'

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.