Index: /trunk/Ohana/src/kapa/graph/LoadPtext.c
===================================================================
--- /trunk/Ohana/src/kapa/graph/LoadPtext.c	(revision 6677)
+++ /trunk/Ohana/src/kapa/graph/LoadPtext.c	(revision 6678)
@@ -4,5 +4,5 @@
   
   char *string;
-  int N, status, size;
+  int N, size;
   double tX, tY, tT, L;
   Layout *layout;
Index: /trunk/Ohana/src/libautocode/def/Stars.d
===================================================================
--- /trunk/Ohana/src/libautocode/def/Stars.d	(revision 6677)
+++ /trunk/Ohana/src/libautocode/def/Stars.d	(revision 6678)
@@ -2,5 +2,5 @@
 EXTNAME STARS
 TYPE    BINTABLE
-SIZE    112
+SIZE    128
 
 FIELD     X,                X,            	  double,         x coordinate on image
@@ -8,4 +8,6 @@
 FIELD     R,                R,            	  double,         ra coordinate on sky
 FIELD     D,                D,            	  double,         dec coordinate on sky
+FIELD     uR,               uR,            	  double,         proper motion in RA
+FIELD     uD,               uD,            	  double,         proper motion in DEC 
 FIELD     M,                M,            	  double,         instrumental mag
 FIELD     dM,               DM,           	  double,         error on mag
Index: /trunk/Ohana/src/libdvo/src/coordops.c
===================================================================
--- /trunk/Ohana/src/libdvo/src/coordops.c	(revision 6677)
+++ /trunk/Ohana/src/libdvo/src/coordops.c	(revision 6678)
@@ -320,5 +320,5 @@
     if (fits_scan (header, "CDELT1", "%f", 1, &coords[0].cdelt1)) {
       status &= fits_scan (header, "CDELT2", "%f", 1, &coords[0].cdelt2);
-      if (fits_scan (header, "CROTA2", "%f", 1, &rotate)) {
+      if (fits_scan (header, "CROTA2", "%lf", 1, &rotate)) {
 	Lambda = coords[0].cdelt2 / coords[0].cdelt1;
 	coords[0].pc1_1 =  cos(rotate*RAD_DEG);
Index: /trunk/Ohana/src/opihi/cmd.astro/fixwrap.c
===================================================================
--- /trunk/Ohana/src/opihi/cmd.astro/fixwrap.c	(revision 6677)
+++ /trunk/Ohana/src/opihi/cmd.astro/fixwrap.c	(revision 6678)
@@ -4,5 +4,5 @@
   
   int i, j, Nflip, n, Ny, Nx, flip, sat, rowfix;
-  float *Vin, *outf, *outb, dV, dO;
+  float *Vin, *outf, *outb, dO;
   Buffer *in;
 
Index: /trunk/Ohana/src/opihi/cmd.data/dimendown.c
===================================================================
--- /trunk/Ohana/src/opihi/cmd.data/dimendown.c	(revision 6677)
+++ /trunk/Ohana/src/opihi/cmd.data/dimendown.c	(revision 6678)
@@ -20,6 +20,5 @@
   }
 
-  if (argc != 3) {
-  }
+  if (argc != 3) goto usage;
 
   if ((buf = SelectBuffer (argv[1], OLDBUFFER, TRUE)) == NULL) return (FALSE);
Index: /trunk/Ohana/src/opihi/dvo/Makefile
===================================================================
--- /trunk/Ohana/src/opihi/dvo/Makefile	(revision 6677)
+++ /trunk/Ohana/src/opihi/dvo/Makefile	(revision 6678)
@@ -19,5 +19,5 @@
 # link flags 
 LIBS    = 	-L$(LIB) -L$(LLIB) -L$(XLIB)
-LIBS1   =       -lsocket -lnsl -lreadline $(TLIBFLAG) -ldvo -lkapa -lFITS -lohana -lX11 -lm
+LIBS1   =       -lsocket -lnsl -lreadline $(TLIB) -ldvo -lkapa -lFITS -lohana -lX11 -lm
 LIBS2   =       -lbasiccmd -ldatacmd -lastrocmd -lshell -ldata 
 LFLAGS  =       $(LIBS) $(LIBS2) $(LIBS1) 
Index: /trunk/Ohana/src/opihi/include/data.h
===================================================================
--- /trunk/Ohana/src/opihi/include/data.h	(revision 6677)
+++ /trunk/Ohana/src/opihi/include/data.h	(revision 6678)
@@ -26,4 +26,5 @@
 void PushNamedQueue (char *name, char *line);
 char *PopQueue (Queue *queue);
+char *PopQueueMatch (Queue *queue, int Key, char *value);
 void PushQueueUnique (Queue *queue, char *line, int Key);
 void PushQueueReplace (Queue *queue, char *line, int Key);
Index: /trunk/Ohana/src/opihi/mana/Makefile
===================================================================
--- /trunk/Ohana/src/opihi/mana/Makefile	(revision 6677)
+++ /trunk/Ohana/src/opihi/mana/Makefile	(revision 6678)
@@ -19,6 +19,6 @@
 # link flags 
 LIBS    = 	-L$(LIB) -L$(LLIB) -L$(XLIB)
-LIBS1   =       -lsocket -lnsl -lreadline $(TLIBFLAG) -ldvo -lkapa -lFITS -lohana -lX11 -lm
-# LIBS1   =       -lreadline $(TLIBFLAG) -ldvo -lkapa -lFITS -lohana -lX11 -lm
+LIBS1   =       -lsocket -lnsl -lreadline $(TLIB) -ldvo -lkapa -lFITS -lohana -lX11 -lm
+# LIBS1   =       -lreadline $(TLIB) -ldvo -lkapa -lFITS -lohana -lX11 -lm
 LIBS2   =       -lbasiccmd -ldatacmd -lastrocmd -lshell -ldata 
 LFLAGS  =       $(LIBS) $(LIBS2) $(LIBS1) 
Index: /trunk/Ohana/src/opihi/pantasks/Makefile
===================================================================
--- /trunk/Ohana/src/opihi/pantasks/Makefile	(revision 6677)
+++ /trunk/Ohana/src/opihi/pantasks/Makefile	(revision 6678)
@@ -19,5 +19,5 @@
 # link flags 
 LIBS    = 	-L$(LIB) -L$(LLIB) -L$(XLIB)
-LIBS1   =       -lsocket -lnsl -lreadline $(TLIBFLAG) -ldvo -lkapa -lFITS -lohana -lX11 -lm
+LIBS1   =       -lsocket -lnsl -lreadline $(TLIB) -ldvo -lkapa -lFITS -lohana -lX11 -lm
 LIBS2   =       -lbasiccmd -ldatacmd -lastrocmd -lshell -ldata 
 LFLAGS  =       $(LIBS) $(LIBS2) $(LIBS1) 
Index: /trunk/Ohana/src/opihi/pclient/Makefile
===================================================================
--- /trunk/Ohana/src/opihi/pclient/Makefile	(revision 6677)
+++ /trunk/Ohana/src/opihi/pclient/Makefile	(revision 6678)
@@ -19,5 +19,5 @@
 # link flags 
 LIBS    = 	-L$(LIB) -L$(LLIB) -L$(XLIB)
-LIBS1   =       -lsocket -lnsl -lreadline $(TLIBFLAG) -ldvo -lkapa -lFITS -lohana -lX11 -lm
+LIBS1   =       -lsocket -lnsl -lreadline $(TLIB) -ldvo -lkapa -lFITS -lohana -lX11 -lm
 LIBS2   =       -lbasiccmd -ldatacmd -lastrocmd -lshell -ldata 
 LFLAGS  =       $(LIBS) $(LIBS2) $(LIBS1) 
Index: /trunk/Ohana/src/opihi/pcontrol/Makefile
===================================================================
--- /trunk/Ohana/src/opihi/pcontrol/Makefile	(revision 6677)
+++ /trunk/Ohana/src/opihi/pcontrol/Makefile	(revision 6678)
@@ -19,5 +19,5 @@
 # link flags 
 LIBS    = 	-L$(LIB) -L$(LLIB) -L$(XLIB)
-LIBS1   =       -lsocket -lnsl -lreadline $(TLIBFLAG) -lkapa -lFITS -lohana -lX11 -lm
+LIBS1   =       -lsocket -lnsl -lreadline $(TLIB) -lkapa -lFITS -lohana -lX11 -lm
 LIBS2   =       -lbasiccmd -lshell -ldata 
 LFLAGS  =       $(LIBS) $(LIBS2) $(LIBS1) 
Index: /trunk/Ohana/src/relphot/src/plotstuff.c
===================================================================
--- /trunk/Ohana/src/relphot/src/plotstuff.c	(revision 6677)
+++ /trunk/Ohana/src/relphot/src/plotstuff.c	(revision 6678)
@@ -20,6 +20,4 @@
 
 int open_graph (int N) {
-
-  int fd;
 
   Xgraph[N] = KiiOpen ("kapa", NULL);
@@ -56,7 +54,4 @@
 
 void PrepPlotting (int Npts, Graphdata *graphmode, int N) {
-
-  int i, status;
-  char buffer[128], buffer2[128];
 
   if (Npts < 1) return;
