* to implement word completion (similar to tcsh under Unix).
*
*/
-zchar os_read_line(int max, zchar * buf, int timeout, int width, int continued)
+zchar os_read_line(int max, zchar * buf, int timeout, int UNUSED (width), int UNUSED (continued))
{
zchar c;
int index;
* return it. Input aborts after timeout/10 seconds.
*
*/
-zchar os_read_key(int timeout, int cursor)
+zchar os_read_key(int UNUSED (timeout), int cursor)
{
XEvent ev;
char result[2];
}
-static int loadpng(uint8_t * data, int length, pict_info_t * graphic)
+static int loadpng(uint8_t * data, int UNUSED (length), pict_info_t * graphic)
{
png_bytep *rowPointers = NULL;
png_structp png_ptr = NULL;
/* Memory Data Source */
-static void memJPEGInit(j_decompress_ptr unused)
+static void memJPEGInit(j_decompress_ptr UNUSED (unused))
{
/* Nothing here */
}
-static int memJPEGFillInput(j_decompress_ptr unused)
+static int memJPEGFillInput(j_decompress_ptr UNUSED (unused))
{
return 0;
}
}
-static void memJPEGTerm(j_decompress_ptr unused)
+static void memJPEGTerm(j_decompress_ptr UNUSED (unused))
{
/* Nothing here */
}
****************************************************************************
*/
-static int loadrect(uint8_t * data, int length, pict_info_t * graphic)
+static int loadrect(uint8_t * data, int UNUSED (length), pict_info_t * graphic)
{
graphic->orig_width =
(data[0] << 24) | (data[1] << 16) | (data[2] << 8) | data[3];
* Load the sample from the disk.
*
*/
-void os_prepare_sample(int number)
+void os_prepare_sample(int UNUSED (number))
{
/* Not implemented */
* as the sound finishes.
*
*/
-void os_start_sample(int number, int volume, int repeats, zword eos)
+void os_start_sample(int UNUSED (number), int UNUSED (volume), int UNUSED (repeats), zword UNUSED (eos))
{
/* Not implemented */
* Turn off the current sample.
*
*/
-void os_stop_sample(int number)
+void os_stop_sample(int UNUSED (number))
{
/* Not implemented */
* Remove the current sample from memory (if any).
*
*/
-void os_finish_with_sample(int number)
+void os_finish_with_sample(int UNUSED (number))
{
/* Not implemented */
} /* os_scroll_area */
-bool os_repaint_window(int win, int ypos_old, int ypos_new, int xpos,
- int ysize, int xsize)
+bool os_repaint_window(int UNUSED (win), int UNUSED (ypos_old),
+ int UNUSED (ypos_new), int UNUSED (xpos), int UNUSED (ysize),
+ int UNUSED (xsize))
{
return TRUE;
}