Difference for common/region.c from version 1.4 to 1.5


version 1.4 version 1.5
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_map_c =   * static char *rcsid_map_c =
  *   "$Id: region.c,v 1.4 2005/04/14 19:15:39 ryo_saeba Exp $";   *   "$Id: region.c,v 1.5 2005/04/16 22:05:08 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 40
 
Line 40
  * message and returns NULL   * message and returns NULL
  * used by the map parsing code.    * used by the map parsing code.
  */   */
 region *get_region_by_name(char *region_name) {  region *get_region_by_name(const char *region_name) {
     region *reg;      region *reg;
     char *p = strchr(region_name, '\n');      char *p = strchr(region_name, '\n');
     if (p) *p = '\0';      if (p) *p = '\0';
Line 90
 
Line 90
  * If we got a NULL, then just return the top level region   * If we got a NULL, then just return the top level region
  *    *
  */   */
 region *get_region_from_string(char *name) {  region *get_region_from_string(const char *name) {
     region *reg;      region *reg;
     char *substr;      char *substr;
     char *p;      char *p;


Legend:
line(s) removed in v.1.4 
line(s) changed
 line(s) added in v.1.5

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:17