Browse Source
For future reference, done via: for f in `find wire/ bitcoin/ common/ lightningd -name '*.h' ! -name 'gen*'`; do ID=`echo -n LIGHTNING/$f | tr 'a-z' 'A-Z' | tr -cs 'A-Z0-9' _`; sed 's/^#\(ifndef\|define\) .*_H$/#\1 '$ID/ < $f | sed 's,#endif /..*_H ./$,#endif /* '$ID' */,' | bagto $f; done Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>ppa-0.6.1
Rusty Russell
7 years ago
committed by
Christian Decker
54 changed files with 153 additions and 153 deletions
@ -1,9 +1,9 @@ |
|||||
#ifndef LIGHTNING_DAEMON_CONFIGDIR_H |
#ifndef LIGHTNING_COMMON_CONFIGDIR_H |
||||
#define LIGHTNING_DAEMON_CONFIGDIR_H |
#define LIGHTNING_COMMON_CONFIGDIR_H |
||||
#include "config.h" |
#include "config.h" |
||||
#include <ccan/tal/tal.h> |
#include <ccan/tal/tal.h> |
||||
|
|
||||
void configdir_register_opts(const tal_t *ctx, |
void configdir_register_opts(const tal_t *ctx, |
||||
char **config_dir, char **rpc_filename); |
char **config_dir, char **rpc_filename); |
||||
|
|
||||
#endif /* LIGHTNING_DAEMON_CONFIGDIR_H */ |
#endif /* LIGHTNING_COMMON_CONFIGDIR_H */ |
||||
|
@ -1,7 +1,7 @@ |
|||||
#ifndef LIGHTNING_LIGHTNINGD_DEBUG_H |
#ifndef LIGHTNING_COMMON_DEBUG_H |
||||
#define LIGHTNING_LIGHTNINGD_DEBUG_H |
#define LIGHTNING_COMMON_DEBUG_H |
||||
#include "config.h" |
#include "config.h" |
||||
|
|
||||
void subdaemon_debug(int argc, char *argv[]); |
void subdaemon_debug(int argc, char *argv[]); |
||||
|
|
||||
#endif /* LIGHTNING_LIGHTNINGD_DEBUG_H */ |
#endif /* LIGHTNING_COMMON_DEBUG_H */ |
||||
|
Loading…
Reference in new issue