summaryrefslogtreecommitdiff
path: root/src/calcurse.h
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-07-16 23:53:30 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-07-16 23:53:30 +0200
commit71234ec0bd16c490239eefcf98069ceb7a7f7618 (patch)
tree96700d7cbdf97ca7f1906948be66548712b15226 /src/calcurse.h
parentb37ed2fcc8a4c64419cf066d3c940fc29b7a2d73 (diff)
downloadcalcurse-71234ec0bd16c490239eefcf98069ceb7a7f7618.zip
Refactor wins_launch_external()
Allow for passing an arbitrary number of arguments. This also allows us to remove wins_launch_external2() and use wins_launch_external() at all call sites instead. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r--src/calcurse.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/calcurse.h b/src/calcurse.h
index a1cf9bb..34e74b5 100644
--- a/src/calcurse.h
+++ b/src/calcurse.h
@@ -1124,8 +1124,7 @@ void wins_reset_noupdate(void);
void wins_reset(void);
void wins_prepare_external(void);
void wins_unprepare_external(void);
-void wins_launch_external(const char *, const char *);
-void wins_launch_external2(const char *, const char *, const char *);
+void wins_launch_external(const char *[]);
void wins_status_bar(void);
void wins_erase_status_bar(void);
void wins_other_status_page(int);