From c36ae7080fdee833f92e6f004cd277a9789c8ff3 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Mon, 21 Apr 2008 11:02:54 +0300 Subject: [PATCH] Include path.h --- src/track.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/track.h b/src/track.h index beb0dfc..352504a 100644 --- a/src/track.h +++ b/src/track.h @@ -3,6 +3,7 @@ #include #include +#include "path.h" #include "filter.h" Path *_track; @@ -12,17 +13,6 @@ Path *_track; #define TRACK_SQL_INSERT_TRACK_POINT "insert into trackpoints (tid,dt,lat,lon,alt,hdop,vdop,pdop,sat,fix) values (?,?,?,?,?,?,?,?,?,?)" #define TRACK_SQL_SELECT_TRACK_POINTS "select tid,dt,lat,lon,alt,hdop,vdop,pdop,sat,fix from trackpoints where tid=? order by dt" -struct { - sqlite3_stmt *insert_track; - sqlite3_stmt *select_tracks; - sqlite3_stmt *select_latest_track; - sqlite3_stmt *delete_track; - - sqlite3_stmt *insert_track_point; - sqlite3_stmt *select_track_points; - sqlite3_stmt *delete_track_points; -} track_sql; - void track_init(void); void track_deinit(void); -- 2.39.5