From 5bda14802057ccbe0b01a3ebc1e2a5f5cea60ba5 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Sun, 23 Aug 2015 20:56:18 +0300 Subject: Remove excessive amount of parameters This removes the excessive amount of parameters on manual CSV import. We just use appropriate string array than can be directly fed to XSLT parsing. Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- dive.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'dive.h') diff --git a/dive.h b/dive.h index ed9e02565..e4bd23cf8 100644 --- a/dive.h +++ b/dive.h @@ -671,8 +671,7 @@ extern int parse_file(const char *filename); extern int parse_csv_file(const char *filename, int timef, int depthf, int tempf, int po2f, int o2Sensor1f, int o2Sensor2f, int o2Sensor3f, int cnsf, int ndlf, int ttsf, int stopdepthf, int pressuref, int setpointf, int sepidx, const char *csvtemplate, int unitidx, const char *hw); extern int parse_seabear_csv_file(const char *filename, int timef, int depthf, int tempf, int po2f, int o2Sensor1f, int o2Sensor2f, int o2Sensor3f, int cnsf, int ndlf, int ttsf, int stopdepthf, int pressuref, int sepidx, const char *csvtemplate, int unitidx, const char *delta, const char *hw); extern int parse_txt_file(const char *filename, const char *csv); -extern int parse_manual_file(const char *filename, int separator_index, int units, int dateformat, int durationformat, int number, int date, int time, int duration, int location, int gps, int maxdepth, int meandepth, int divemaster, int buddy, int suit, int notes, int weight, int tags, int cylsizef, int startpresf, int endpresf, int o2f, int hef, int airtempf, int watertempf); - +extern int parse_manual_file(const char *filename, char **params, int pnr); extern int save_dives(const char *filename); extern int save_dives_logic(const char *filename, bool select_only); extern int save_dive(FILE *f, struct dive *dive); -- cgit v1.2.3-70-g09d2