nostrdb: Makefile: build using ccan/ versions of files.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
committed by
Daniel D’Aquino
parent
e3ca6ca5b4
commit
201cdd7edc
@@ -2,7 +2,7 @@
|
|||||||
#ifndef CCAN_ARRAY_SIZE_H
|
#ifndef CCAN_ARRAY_SIZE_H
|
||||||
#define CCAN_ARRAY_SIZE_H
|
#define CCAN_ARRAY_SIZE_H
|
||||||
#include "../config.h"
|
#include "../config.h"
|
||||||
#include "build_assert.h"
|
#include "ccan/build_assert/build_assert.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ARRAY_SIZE - get the number of elements in a visible array
|
* ARRAY_SIZE - get the number of elements in a visible array
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
#include "../config.h"
|
#include "../config.h"
|
||||||
#include "check_type.h"
|
#include "ccan/check_type/check_type.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* container_of - get pointer to enclosing structure
|
* container_of - get pointer to enclosing structure
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
* file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
* file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||||
*/
|
*/
|
||||||
#include "sha256.h"
|
#include "sha256.h"
|
||||||
#include "endian.h"
|
#include "ccan/endian/endian.h"
|
||||||
#include "compiler.h"
|
#include "ccan/compiler/compiler.h"
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
@@ -5,8 +5,8 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include "str.h"
|
#include "str.h"
|
||||||
#include "container_of.h"
|
#include "ccan/container_of/container_of.h"
|
||||||
#include "check_type.h"
|
#include "ccan/check_type/check_type.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct list_node - an entry in a doubly-linked list
|
* struct list_node - an entry in a doubly-linked list
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#define CCAN_MEM_H
|
#define CCAN_MEM_H
|
||||||
|
|
||||||
#include "../config.h"
|
#include "../config.h"
|
||||||
#include "../compiler.h"
|
#include "ccan/compiler/compiler.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
/* MIT (BSD) license - see LICENSE file for details */
|
/* MIT (BSD) license - see LICENSE file for details */
|
||||||
#ifndef CCAN_STRUCTEQ_H
|
#ifndef CCAN_STRUCTEQ_H
|
||||||
#define CCAN_STRUCTEQ_H
|
#define CCAN_STRUCTEQ_H
|
||||||
#include "build_assert.h"
|
#include "ccan/build_assert/build_assert.h"
|
||||||
#include "cppmagic.h"
|
#include "ccan/cppmagic/cppmagic.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/* CC0 (Public domain) - see LICENSE file for details */
|
/* CC0 (Public domain) - see LICENSE file for details */
|
||||||
#include "take.h"
|
#include "take.h"
|
||||||
#include "likely.h"
|
#include "ccan/likely/likely.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "talstr.h"
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <regex.h>
|
#include <regex.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#ifdef TAL_USE_TALLOC
|
#ifdef TAL_USE_TALLOC
|
||||||
#include <ccan/tal/talloc/talloc.h>
|
#include <ccan/tal/talloc/talloc.h>
|
||||||
#else
|
#else
|
||||||
#include "tal.h"
|
#include "ccan/tal/tal.h"
|
||||||
#endif
|
#endif
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
/* Licensed under BSD-MIT - see LICENSE file for details */
|
/* Licensed under BSD-MIT - see LICENSE file for details */
|
||||||
#include "tal.h"
|
#include "tal.h"
|
||||||
#include "../compiler.h"
|
#include "ccan/compiler/compiler.h"
|
||||||
#include "list.h"
|
#include "ccan/list/list.h"
|
||||||
#include "alignof.h"
|
#include "ccan/alignof/alignof.h"
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
@@ -2,11 +2,11 @@
|
|||||||
#ifndef CCAN_TAL_H
|
#ifndef CCAN_TAL_H
|
||||||
#define CCAN_TAL_H
|
#define CCAN_TAL_H
|
||||||
#include "../config.h"
|
#include "../config.h"
|
||||||
#include "../compiler.h"
|
#include "ccan/compiler/compiler.h"
|
||||||
#include "likely.h"
|
#include "ccan/likely/likely.h"
|
||||||
#include "typesafe_cb.h"
|
#include "ccan/typesafe_cb/typesafe_cb.h"
|
||||||
#include "str.h"
|
#include "ccan/str/str.h"
|
||||||
#include "take.h"
|
#include "ccan/take/take.h"
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user