btcs

bitcoin script parser/evaluator/compiler/decompiler
git clone git://jb55.com/btcs
Log | Files | Refs | README | LICENSE

commit 6d8611f55b196ca7632b774290c313d0da4581c0
parent 7dcddcf0d1223ff7b232dcbba1565442ece06514
Author: William Casarin <jb55@jb55.com>
Date:   Thu, 26 Oct 2017 11:42:35 -0700

build: cleanup warnings

Diffstat:
MMakefile | 3+--
Mdeps/tap.c/tap.c | 2+-
Mtest.c | 2+-
3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -39,7 +39,6 @@ include $(TESTOBJS:.o=.d) op.c: oplookup.h oplookup.c - %.d: %.c @rm -f $@; \ $(CC) -MM $(CFLAGS) $< > $@ @@ -73,4 +72,4 @@ clean: TAGS: etags -o - *.c > $@ -.PHONY: TAGS test +.PHONY: TAGS test clean diff --git a/deps/tap.c/tap.c b/deps/tap.c/tap.c @@ -4,7 +4,7 @@ Copyright 2012 Jake Gelbman <gelbman@gmail.com> This file is licensed under the GPLv2 */ -#define _BSD_SOURCE 1 +#define _DEFAULT_SOURCE 1 #include <stdio.h> #include <stdlib.h> diff --git a/test.c b/test.c @@ -1,7 +1,7 @@ +#pragma GCC diagnostic ignored "-Wint-conversion" #include "script.h" #include "op.h" -#include "ok/ok.h" #include "tap.c/tap.h" typedef void (program)(struct stack *script, struct stack *stack,\