IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3517


Ignore:
Timestamp:
Mar 25, 2005, 6:27:08 PM (21 years ago)
Author:
eugene
Message:

cleaning up minor typos from include changes

Location:
trunk/Ohana/src
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/addspphot/src/parse_time.c

    r2461 r3517  
    117117
    118118}
    119 
    120 void uppercase (char *string) {
    121 
    122   int i;
    123    
    124   for (i = 0; i < strlen (string); i++) string[i] = toupper (string[i]);
    125 
    126 }
  • trunk/Ohana/src/addstar/Makefile

    r3416 r3517  
    5050$(SRC)/load_pt_catalog.$(ARCH).o \
    5151$(SRC)/load_subpix.$(ARCH).o \
    52 $(SRC)/make_backup.$(ARCH).o \
    5352$(SRC)/mkcatalog.$(ARCH).o \
    5453$(SRC)/opening_angle.$(ARCH).o \
  • trunk/Ohana/src/addstar/src/parse_time.c

    r3339 r3517  
    120120
    121121}
    122 
    123 void uppercase (char *string) {
    124 
    125   int i;
    126    
    127   for (i = 0; i < strlen (string); i++) string[i] = toupper (string[i]);
    128 
    129 }
  • trunk/Ohana/src/delstar/src/parse_time.c

    r2463 r3517  
    117117
    118118}
    119 
    120 uppercase (char *string) {
    121 
    122   int i;
    123    
    124   for (i = 0; i < strlen (string); i++) string[i] = toupper (string[i]);
    125 
    126 }
  • trunk/Ohana/src/libautocode/def/common.h

    r3515 r3517  
    1 # include <ohana.h>
     1# include <stdio.h>
     2# include <stdarg.h>
     3# include <fitsio.h>
     4
     5# ifndef TRUE
     6# define TRUE (1)
     7# define FALSE (0)
     8# endif
    29
    310# define SWAP_BYTE(X) \
  • trunk/Ohana/src/libohana/include/dvo.h

    r3516 r3517  
     1
     2# ifndef DVO_H
     3# define DVO_H
    14
    25# define ELIXIR    1
     
    148151int   ByteSwap (char *ptr, int size, int nitems, char *type);
    149152int   ConvertStruct (char *buffer, int size, int Nbytes, char *type);
     153
     154# endif
  • trunk/Ohana/src/libohana/src/findexec.c

    r3508 r3517  
    263263    if (status) {
    264264      fprintf (stderr, "ERROR: unable to create %s~, exiting\n", filename);
    265       exit (0);
     265      exit (1);
    266266    }
    267267    cmode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH;
  • trunk/Ohana/src/mosastro/src/parse_time.c

    r3401 r3517  
    119119
    120120}
    121 
    122 void uppercase (char *string) {
    123 
    124   int i;
    125    
    126   for (i = 0; i < strlen (string); i++) string[i] = toupper (string[i]);
    127 
    128 }
  • trunk/Ohana/src/opihi/include/dvo1.h

    r3462 r3517  
    66# include "data.h"
    77
    8 # ifndef DVO_H
    9 # define DVO_H
     8# ifndef DVO1_H
     9# define DVO1_H
    1010
    1111/* magnitude types */
  • trunk/Ohana/src/photdbc/src/check_directory.c

    r2494 r3517  
    4141  }
    4242}
    43 
    44 /* uses cp only */
    45 make_backup (char *filename) {
    46 
    47   int status, cmode;
    48   struct stat filestat;
    49   char line [256];
    50 
    51   status = stat (filename, &filestat);
    52   if (status == 0) { /* file exists, make backup copy */
    53     sprintf (line, "cp %s %s~\0", filename, filename);
    54     status = system (line);
    55     if (status) {
    56       fprintf (stderr, "ERROR: unable to create %s~, exiting\n", filename);
    57       exit (1);
    58     }
    59     cmode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH;
    60     sprintf (line, "%s~\0", filename);
    61     chmod (line, cmode);
    62   }
    63  
    64 }
Note: See TracChangeset for help on using the changeset viewer.