* Many changes to make sky sim build with --enable-sim-warnings.
[deliverable/binutils-gdb.git] / sim / mips / sky-pke.c
index 94b650257b25805253fc905e2cb96981690123ca..f46873bfc7a93aa9e5c0929275eecc2918be87f9 100644 (file)
@@ -8,7 +8,6 @@
 #include "sky-vu1.h"
 #include "sky-gpuif.h"
 
-
 /* Imported functions */
 
 void device_error (device *me, char* message);  /* device.c */
@@ -75,13 +74,13 @@ pke1_attach(SIM_DESC sd)
 /* Issue a PKE instruction if possible */
 
 void 
-pke0_issue() 
+pke0_issue(void
 {
   pke_issue(& pke0_device);
 }
 
 void 
-pke1_issue() 
+pke1_issue(void
 {
   pke_issue(& pke0_device);
 }
@@ -1313,7 +1312,8 @@ pke_pc_advance(struct pke_device* me, int num_words)
 unsigned_4*
 pke_pc_operand(struct pke_device* me, int word_num)
 {
-  int new_qw_pc, new_fifo_pc;
+  int new_qw_pc = 0;   
+  int new_fifo_pc;
   unsigned_4* operand;
 
   ASSERT(word_num > 0);
@@ -1345,7 +1345,8 @@ pke_pc_operand(struct pke_device* me, int word_num)
 struct fifo_quadword*
 pke_pc_fifo(struct pke_device* me, int word_num)
 {
-  int new_qw_pc, new_fifo_pc;
+  int new_qw_pc = 0;
+  int new_fifo_pc;
   struct fifo_quadword* operand;
 
   ASSERT(word_num > 0);
This page took 0.033972 seconds and 4 git commands to generate.