From 19a0b78fec68cf8cb382f065efc7a720108bf6c1 Mon Sep 17 00:00:00 2001 From: Mark Beckwith Date: Sat, 14 Jul 2018 11:11:29 -0500 Subject: [PATCH] param: renamed files Signed-off-by: Mark Beckwith --- lightningd/Makefile | 2 +- lightningd/{params.c => param.c} | 2 +- lightningd/{params.h => param.h} | 6 +++--- lightningd/test/{run-params.c => run-param.c} | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) rename lightningd/{params.c => param.c} (99%) rename lightningd/{params.h => param.h} (96%) rename lightningd/test/{run-params.c => run-param.c} (99%) diff --git a/lightningd/Makefile b/lightningd/Makefile index b43cd4e30..433c15b4c 100644 --- a/lightningd/Makefile +++ b/lightningd/Makefile @@ -70,7 +70,7 @@ LIGHTNINGD_SRC := \ lightningd/onchain_control.c \ lightningd/opening_control.c \ lightningd/options.c \ - lightningd/params.c \ + lightningd/param.c \ lightningd/pay.c \ lightningd/payalgo.c \ lightningd/peer_control.c \ diff --git a/lightningd/params.c b/lightningd/param.c similarity index 99% rename from lightningd/params.c rename to lightningd/param.c index d5883350d..e11e2d21d 100644 --- a/lightningd/params.c +++ b/lightningd/param.c @@ -5,7 +5,7 @@ #include #include #include -#include +#include struct param { const char *name; diff --git a/lightningd/params.h b/lightningd/param.h similarity index 96% rename from lightningd/params.h rename to lightningd/param.h index 6eb96e3a2..1b3212377 100644 --- a/lightningd/params.h +++ b/lightningd/param.h @@ -1,5 +1,5 @@ -#ifndef LIGHTNING_LIGHTNINGD_PARAMS_H -#define LIGHTNING_LIGHTNINGD_PARAMS_H +#ifndef LIGHTNING_LIGHTNINGD_PARAM_H +#define LIGHTNING_LIGHTNINGD_PARAM_H #include "config.h" /* @@ -110,4 +110,4 @@ typedef bool(*param_cb)(const char *buffer, const jsmntok_t *tok, void *arg); (arg) + 0*sizeof(*(arg) == (jsmntok_t *)NULL), \ sizeof(const jsmntok_t *) -#endif /* LIGHTNING_LIGHTNINGD_PARAMS_H */ +#endif /* LIGHTNING_LIGHTNINGD_PARAM_H */ diff --git a/lightningd/test/run-params.c b/lightningd/test/run-param.c similarity index 99% rename from lightningd/test/run-params.c rename to lightningd/test/run-param.c index 6207afba5..de69af0c5 100644 --- a/lightningd/test/run-params.c +++ b/lightningd/test/run-param.c @@ -3,7 +3,7 @@ #include #include -#include +#include #include #include #include