aboutsummaryrefslogtreecommitdiff
path: root/vis-core.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-02-23 16:52:35 +0100
committerMarc André Tanner <mat@brain-dump.org>2017-02-24 09:55:32 +0100
commitf2090b4b13c13711e6e1b9d3a7cde2cf5f121efe (patch)
tree0deb128262b23ef103e3160ddc3f8064b2307956 /vis-core.h
parent615a2c403833f0db591d56c5406dae23ca711777 (diff)
downloadvis-f2090b4b13c13711e6e1b9d3a7cde2cf5f121efe.tar.gz
vis-f2090b4b13c13711e6e1b9d3a7cde2cf5f121efe.tar.xz
vis: make help texts optional to produce a smaller binary
$ ./configure --disable-help shrinks the binary by about 20K on a x86_64 system.
Diffstat (limited to 'vis-core.h')
-rw-r--r--vis-core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vis-core.h b/vis-core.h
index bbfab36..a67fd69 100644
--- a/vis-core.h
+++ b/vis-core.h
@@ -226,7 +226,7 @@ bool vis_event_emit(Vis*, enum VisEvents, ...);
typedef struct {
char name;
- const char *help;
+ VIS_HELP_DECL(const char *help;)
} MarkDef;
typedef MarkDef RegisterDef;