Changeset 7446


Ignore:
Timestamp:
06/01/18 14:13:45 (3 weeks ago)
Author:
baker
Message:

use const char * for config file name args

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/kom.h

    r4751 r7446  
    2323/* Prototypes for functions in kom.c 
    2424 ***********************************/ 
    25 int    k_open( char * );        /* open new file for k-system input     */ 
    26 int    k_open_as_ini( char * ); /* k_open w/ file in .ini format        */ 
     25int    k_open( const char * );  /* open new file for k-system input     */ 
     26int    k_open_as_ini( const char * ); /* k_open w/ file in .ini format  */ 
    2727void   k_treat_as_ini( void );  /* switch to .ini format                */ 
    2828void   k_treat_as_ew( void );   /* switch to ew format                  */ 
  • trunk/src/libsrc/util/kom.c

    r7120 r7446  
    1  
    21/* 
    32 *   THIS FILE IS UNDER RCS - DO NOT MODIFY UNLESS YOU HAVE 
     
    111110 **** k_open_base : common code for k_open & k_open_format 
    112111 */ 
    113 static int k_open_base( char *name ) 
     112static int k_open_base( const char *name ) 
    114113{ 
    115114        if(Nbuf < MAXBUF && com.fid) { 
     
    134133 *              recursion capabitity using a stack in the com area. 
    135134 */ 
    136 int k_open( char *name ) 
     135int k_open( const char *name ) 
    137136{ 
    138137        iniFormat = 0; 
     
    145144 *                               o/w use normal EW format 
    146145 */ 
    147 int k_open_format( char *name, char ewFormat ) 
     146int k_open_format( const char *name, char ewFormat ) 
    148147{ 
    149148        iniFormat = ewFormat ? 0 : '='; 
Note: See TracChangeset for help on using the changeset viewer.