move headers around to make more sense
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 16 Dec 2006 16:11:46 +0000 (16:11 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 16 Dec 2006 16:11:46 +0000 (16:11 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@936 a5681a0c-68f1-0310-ab6d-d61299d08faa

src/rrd.h

index c3199ef..4c2c14b 100644 (file)
--- a/src/rrd.h
+++ b/src/rrd.h
@@ -84,6 +84,7 @@ int    rrd_create_r(char *filename,
                    int argc, char **argv);
 /* NOTE: rrd_update_r are only thread-safe if no at-style time
    specifications get used!!! */
+
 int    rrd_update_r(char *filename, char *_template,
                    int argc, char **argv);
 int    rrd_dump_r(const char *filename, char *outname);
@@ -105,6 +106,9 @@ struct rrd_time_value {
   struct tm tm;
 };
 
+char *parsetime(const char *spec, struct rrd_time_value *ptv);
+/* END parsetime.h */
+
 struct rrd_context {
     int len;
     int errlen;
@@ -115,8 +119,6 @@ struct rrd_context {
 /* returns the current per-thread rrd_context */
 struct rrd_context *rrd_get_context(void);
 
-char *parsetime(const char *spec, struct rrd_time_value *ptv);
-/* END parsetime.h */
 
 int proc_start_end (struct rrd_time_value *,  struct rrd_time_value *, time_t *, time_t *);