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

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Dec 29 11:03:15 PST 2014


Author: martinl
Date: 2014-12-29 11:03:15 -0800 (Mon, 29 Dec 2014)
New Revision: 63839

Modified:
   grass/trunk/include/defs/gis.h
   grass/trunk/lib/gis/timestamp.c
Log:
libgis: G__write_timestamp() -> G_write_timestamp()


Modified: grass/trunk/include/defs/gis.h
===================================================================
--- grass/trunk/include/defs/gis.h	2014-12-29 19:00:13 UTC (rev 63838)
+++ grass/trunk/include/defs/gis.h	2014-12-29 19:03:15 UTC (rev 63839)
@@ -670,7 +670,7 @@
 void G_set_timestamp_range(struct TimeStamp *, const struct DateTime *,
 			   const struct DateTime *);
 int G__read_timestamp(FILE *, struct TimeStamp *);
-int G__write_timestamp(FILE *, const struct TimeStamp *);
+int G_write_timestamp(FILE *, const struct TimeStamp *);
 void G_get_timestamps(const struct TimeStamp *, struct DateTime *, struct DateTime *, int *);
 int G_format_timestamp(const struct TimeStamp *, char *);
 int G_scan_timestamp(struct TimeStamp *, const char *);

Modified: grass/trunk/lib/gis/timestamp.c
===================================================================
--- grass/trunk/lib/gis/timestamp.c	2014-12-29 19:00:13 UTC (rev 63838)
+++ grass/trunk/lib/gis/timestamp.c	2014-12-29 19:03:15 UTC (rev 63839)
@@ -155,7 +155,7 @@
   \return 0 on success
   \return -1 on error
 */
-int G__write_timestamp(FILE * fd, const struct TimeStamp *ts)
+int G_write_timestamp(FILE * fd, const struct TimeStamp *ts)
 {
     char buf[1024];
 
@@ -294,7 +294,7 @@
 	return -1;
     }
 
-    stat = G__write_timestamp(fd, ts);
+    stat = G_write_timestamp(fd, ts);
     fclose(fd);
     if (stat == 0)
 	return 1;
@@ -526,7 +526,7 @@
 	return -1;
     }
 
-    stat = G__write_timestamp(fd, ts);
+    stat = G_write_timestamp(fd, ts);
     fclose(fd);
     if (stat == 0)
 	return 1;



More information about the grass-commit mailing list