[PATCH libXaw3d 17/18] Xaw3dP: Fix old-style function definitions

Yaakov (Cygwin/X) yselkowitz at users.sourceforge.net
Sun Aug 28 00:20:27 PDT 2011


From: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>

Signed-off-by: Yaakov Selkowitz <yselkowitz at users.sourceforge.net>
---
 src/Xaw3dP.c |   12 ++----------
 1 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/src/Xaw3dP.c b/src/Xaw3dP.c
index d31dc11..2711401 100644
--- a/src/Xaw3dP.c
+++ b/src/Xaw3dP.c
@@ -36,10 +36,7 @@ CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
 #ifdef XAW_GRAY_BLKWHT_STIPPLES
 /* ARGSUSED */
 unsigned long
-grayPixel(p, dpy, scn)
-unsigned long p;	/* unused */
-Display *dpy;
-Screen	*scn;
+grayPixel(unsigned long p, Display *dpy, Screen *scn)
 {
     static XColor Gray =
     {
@@ -67,12 +64,7 @@ Screen	*scn;
 
 /* ARGSUSED */
 Pixmap
-stipplePixmap(w, pm, cm, bg, d)
-Widget w;
-Pixmap pm;
-Colormap cm;
-Pixel bg;
-unsigned int d;
+stipplePixmap(Widget w, Pixmap pm, Colormap cm, Pixel bg, unsigned int d)
 {
     static Pixmap pixmap;
     Display *dpy;
-- 
1.7.5.1



More information about the xorg-devel mailing list