summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>2011-08-28 02:15:38 -0500
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>2011-08-31 20:59:46 -0500
commitebb51d4c8c8bb7066946c9d25d90d5c0aead0e63 (patch)
treefa70f86c239ddf50fe8c22584d10826fc0a1a791 /src
parent2310b88abe6dd2417aaeb26f81580e9479ca1960 (diff)
Xaw3dP: Fix old-style function definitions
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Acked-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'src')
-rw-r--r--src/Xaw3dP.c12
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;