Forráskód Böngészése

libgis: G__option_rule() -> G_option_rule()

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@63855 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 éve
szülő
commit
5cf2559ba8
2 módosított fájl, 3 hozzáadás és 3 törlés
  1. 1 1
      include/defs/gis.h
  2. 2 2
      lib/gis/parser_dependencies.c

+ 1 - 1
include/defs/gis.h

@@ -520,7 +520,7 @@ FILE *G_open_option_file(const struct Option *);
 void G_close_option_file(FILE *);
 
 /* parser_dependencies.c */
-void G__option_rule(int, int, void **);
+void G_option_rule(int, int, void **);
 void G_option_exclusive(void *, ...);
 void G_option_required(void *, ...);
 void G_option_requires(void *, ...);

+ 2 - 2
lib/gis/parser_dependencies.c

@@ -59,7 +59,7 @@ struct rule {
 
 static struct vector rules = {sizeof(struct rule), 50};
 
-void G__option_rule(int type, int nopts, void **opts)
+void G_option_rule(int type, int nopts, void **opts)
 {
     struct rule rule;
 
@@ -86,7 +86,7 @@ static void make_rule(int type, void *first, va_list ap)
 	vector_append(&opts, &opt);
     }
 
-    G__option_rule(type, opts.count, (void**) opts.data);
+    G_option_rule(type, opts.count, (void**) opts.data);
 }
 
 static int is_flag(const void *p)