http://slackware.bholcomb.com/slackware/slackware-11.0/source/xap/xscreensaver/xscree...
[xscreensaver] / hacks / xpm-pixmap.h
index 90e4ff57867564bf166d35c79a26678fc6e04306..7b6e1330e3bc35e0b2b164bc80c953b9182bdc9e 100644 (file)
@@ -1,5 +1,5 @@
 /* xpm-pixmap.h --- converts XPM data to Pixmaps.
- * xscreensaver, Copyright (c) 1998, 2002 Jamie Zawinski <jwz@jwz.org>
+ * xscreensaver, Copyright (c) 1998-2006 Jamie Zawinski <jwz@jwz.org>
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
  * documentation for any purpose is hereby granted without fee, provided that
@@ -15,7 +15,8 @@
 
 /* Returns a Pixmap structure containing the bits of the given XPM image.
  */
-extern Pixmap xpm_data_to_pixmap (Display *, Window, char **xpm_data,
+extern Pixmap xpm_data_to_pixmap (Display *, Window, 
+                                  /*const*/ char * const *xpm_data,
                                   int *width_ret, int *height_ret,
                                   Pixmap *mask_ret);
 extern Pixmap xpm_file_to_pixmap (Display *, Window, const char *filename,