Browse Source

param: renamed files

Signed-off-by: Mark Beckwith <wythe@intrig.com>
ppa-0.6.1
Mark Beckwith 7 years ago
committed by Rusty Russell
parent
commit
19a0b78fec
  1. 2
      lightningd/Makefile
  2. 2
      lightningd/param.c
  3. 6
      lightningd/param.h
  4. 2
      lightningd/test/run-param.c

2
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 \

2
lightningd/params.c → lightningd/param.c

@ -5,7 +5,7 @@
#include <lightningd/jsonrpc.h>
#include <lightningd/jsonrpc_errors.h>
#include <lightningd/lightningd.h>
#include <lightningd/params.h>
#include <lightningd/param.h>
struct param {
const char *name;

6
lightningd/params.h → 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 */

2
lightningd/test/run-params.c → lightningd/test/run-param.c

@ -3,7 +3,7 @@
#include <setjmp.h>
#include <lightningd/jsonrpc.h>
#include <lightningd/params.c>
#include <lightningd/param.c>
#include <common/json.c>
#include <common/json_escaped.c>
#include <ccan/array_size/array_size.h>
Loading…
Cancel
Save