[GRASS-SVN] r63855 - in grass/trunk: include/defs lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Dec 29 11:30:09 PST 2014


Author: martinl
Date: 2014-12-29 11:30:09 -0800 (Mon, 29 Dec 2014)
New Revision: 63855

Modified:
   grass/trunk/include/defs/gis.h
   grass/trunk/lib/gis/parser_dependencies.c
Log:
libgis: G__option_rule() -> G_option_rule()


Modified: grass/trunk/include/defs/gis.h
===================================================================
--- grass/trunk/include/defs/gis.h	2014-12-29 19:28:01 UTC (rev 63854)
+++ grass/trunk/include/defs/gis.h	2014-12-29 19:30:09 UTC (rev 63855)
@@ -520,7 +520,7 @@
 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 *, ...);

Modified: grass/trunk/lib/gis/parser_dependencies.c
===================================================================
--- grass/trunk/lib/gis/parser_dependencies.c	2014-12-29 19:28:01 UTC (rev 63854)
+++ grass/trunk/lib/gis/parser_dependencies.c	2014-12-29 19:30:09 UTC (rev 63855)
@@ -59,7 +59,7 @@
 
 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 @@
 	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)



More information about the grass-commit mailing list