Use expected LIGHTNING_DIR_FILE_H define

This commit is contained in:
practicalswift
2018-03-22 11:36:25 +01:00
committed by Rusty Russell
parent 98f49c0837
commit a4059ef83e
19 changed files with 49 additions and 49 deletions

View File

@@ -22,8 +22,8 @@
* THE SOFTWARE.
*/
#ifndef _SEGWIT_ADDR_H_
#define _SEGWIT_ADDR_H_ 1
#ifndef LIGHTNING_COMMON_BECH32_H
#define LIGHTNING_COMMON_BECH32_H
#include "config.h"
#include <stdint.h>
@@ -119,4 +119,4 @@ int bech32_convert_bits(uint8_t* out, size_t* outlen, int outbits,
extern const char bech32_charset[32];
extern const int8_t bech32_charset_rev[128];
#endif /* LIGHTNING_LIGHTNINGD_BECH32_H */
#endif /* LIGHTNING_COMMON_BECH32_H */

View File

@@ -105,4 +105,4 @@ char *bolt11_encode_(const tal_t *ctx,
*/
struct bolt11 *bolt11_out_check(const struct bolt11 *bolt11,
const char *abortstr);
#endif /* LIGHTNING_LIGHTNINGD_BOLT11_H */
#endif /* LIGHTNING_COMMON_BOLT11_H */

View File

@@ -16,4 +16,4 @@ struct bitcoin_tx *create_close_tx(const tal_t *ctx,
u64 anchor_satoshis,
uint64_t to_us, uint64_t to_them,
uint64_t dust_limit);
#endif
#endif /* LIGHTNING_COMMON_CLOSE_TX_H */