Index: /trunk/Ohana/src/addspphot/src/parse_time.c
===================================================================
--- /trunk/Ohana/src/addspphot/src/parse_time.c	(revision 3516)
+++ /trunk/Ohana/src/addspphot/src/parse_time.c	(revision 3517)
@@ -117,10 +117,2 @@
 
 }
-
-void uppercase (char *string) {
-
-  int i;
-    
-  for (i = 0; i < strlen (string); i++) string[i] = toupper (string[i]);
-
-}
Index: /trunk/Ohana/src/addstar/Makefile
===================================================================
--- /trunk/Ohana/src/addstar/Makefile	(revision 3516)
+++ /trunk/Ohana/src/addstar/Makefile	(revision 3517)
@@ -50,5 +50,4 @@
 $(SRC)/load_pt_catalog.$(ARCH).o \
 $(SRC)/load_subpix.$(ARCH).o \
-$(SRC)/make_backup.$(ARCH).o \
 $(SRC)/mkcatalog.$(ARCH).o \
 $(SRC)/opening_angle.$(ARCH).o \
Index: /trunk/Ohana/src/addstar/src/parse_time.c
===================================================================
--- /trunk/Ohana/src/addstar/src/parse_time.c	(revision 3516)
+++ /trunk/Ohana/src/addstar/src/parse_time.c	(revision 3517)
@@ -120,10 +120,2 @@
 
 }
-
-void uppercase (char *string) {
-
-  int i;
-    
-  for (i = 0; i < strlen (string); i++) string[i] = toupper (string[i]);
-
-}
Index: /trunk/Ohana/src/delstar/src/parse_time.c
===================================================================
--- /trunk/Ohana/src/delstar/src/parse_time.c	(revision 3516)
+++ /trunk/Ohana/src/delstar/src/parse_time.c	(revision 3517)
@@ -117,10 +117,2 @@
 
 }
-
-uppercase (char *string) {
-
-  int i;
-    
-  for (i = 0; i < strlen (string); i++) string[i] = toupper (string[i]);
-
-}
Index: /trunk/Ohana/src/libautocode/def/common.h
===================================================================
--- /trunk/Ohana/src/libautocode/def/common.h	(revision 3516)
+++ /trunk/Ohana/src/libautocode/def/common.h	(revision 3517)
@@ -1,3 +1,10 @@
-# include <ohana.h>
+# include <stdio.h>
+# include <stdarg.h>
+# include <fitsio.h>
+
+# ifndef TRUE
+# define TRUE (1)
+# define FALSE (0)
+# endif
 
 # define SWAP_BYTE(X) \
Index: /trunk/Ohana/src/libohana/include/dvo.h
===================================================================
--- /trunk/Ohana/src/libohana/include/dvo.h	(revision 3516)
+++ /trunk/Ohana/src/libohana/include/dvo.h	(revision 3517)
@@ -1,2 +1,5 @@
+
+# ifndef DVO_H
+# define DVO_H
 
 # define ELIXIR    1
@@ -148,2 +151,4 @@
 int   ByteSwap (char *ptr, int size, int nitems, char *type);
 int   ConvertStruct (char *buffer, int size, int Nbytes, char *type);
+
+# endif
Index: /trunk/Ohana/src/libohana/src/findexec.c
===================================================================
--- /trunk/Ohana/src/libohana/src/findexec.c	(revision 3516)
+++ /trunk/Ohana/src/libohana/src/findexec.c	(revision 3517)
@@ -263,5 +263,5 @@
     if (status) {
       fprintf (stderr, "ERROR: unable to create %s~, exiting\n", filename);
-      exit (0);
+      exit (1);
     }
     cmode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH;
Index: /trunk/Ohana/src/mosastro/src/parse_time.c
===================================================================
--- /trunk/Ohana/src/mosastro/src/parse_time.c	(revision 3516)
+++ /trunk/Ohana/src/mosastro/src/parse_time.c	(revision 3517)
@@ -119,10 +119,2 @@
 
 }
-
-void uppercase (char *string) {
-
-  int i;
-    
-  for (i = 0; i < strlen (string); i++) string[i] = toupper (string[i]);
-
-}
Index: /trunk/Ohana/src/opihi/include/dvo1.h
===================================================================
--- /trunk/Ohana/src/opihi/include/dvo1.h	(revision 3516)
+++ /trunk/Ohana/src/opihi/include/dvo1.h	(revision 3517)
@@ -6,6 +6,6 @@
 # include "data.h"
 
-# ifndef DVO_H
-# define DVO_H
+# ifndef DVO1_H
+# define DVO1_H
 
 /* magnitude types */
Index: /trunk/Ohana/src/photdbc/src/check_directory.c
===================================================================
--- /trunk/Ohana/src/photdbc/src/check_directory.c	(revision 3516)
+++ /trunk/Ohana/src/photdbc/src/check_directory.c	(revision 3517)
@@ -41,24 +41,2 @@
   }
 }
-
-/* uses cp only */
-make_backup (char *filename) {
-
-  int status, cmode;
-  struct stat filestat;
-  char line [256];
-
-  status = stat (filename, &filestat);
-  if (status == 0) { /* file exists, make backup copy */
-    sprintf (line, "cp %s %s~\0", filename, filename);
-    status = system (line);
-    if (status) {
-      fprintf (stderr, "ERROR: unable to create %s~, exiting\n", filename);
-      exit (1);
-    }
-    cmode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH;
-    sprintf (line, "%s~\0", filename);
-    chmod (line, cmode);
-  }
-  
-}
