core-lightning/version.h
Rusty Russell d733e82352 header cleanup: sort include lines into alpha order, after config.h
This makes merging easier in future.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2016-01-22 06:38:08 +10:30

13 lines
333 B
C

#ifndef LIGHTNING_VERSION_H
#define LIGHTNING_VERSION_H
#include "config.h"
#include <ccan/opt/opt.h>
char *version_and_exit(const void *unused);
#define opt_register_version() \
opt_register_noarg("--version|-V", version_and_exit, NULL, \
"print version to standard output and exit")
#endif /* LIGHTNING_VERSION_H */