(log_option_handler): Delete extra arg from printf, twice.
* sky-pke.c (config.h): Include.
(string.h, strings.h): Include.
(pke_issue): Delete unused locals imm, num
* sky-libvpe.c: Pacify GCC.
* sky-gpuif.c (gif_io_write_buffer): Pacify GCC.
* sky-dma.c (config.h): Include.
(string.h, strings.h): Include.
(dma_io_read_buffer): Pacify GCC.
(dma_io_write_buffer): Pacify GCC. Initialize pmem before first use.
(do_dma_transfer): Delete unused local variables qwbuf and local.
#define PKE_DEBUG
+#include "config.h"
+
#include <stdlib.h>
#include "sky-pke.h"
#include "sky-dma.h"
#include "sky-gpuif.h"
#include "sky-device.h"
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
+
/* Internal function declarations */
{
struct fifo_quadword* fqw;
unsigned_4 fw;
- unsigned_4 cmd, intr, num;
- unsigned_4 imm;
+ unsigned_4 cmd, intr;
/* 1 -- fetch PKE instruction */