Merge pull request #85 from ElementsProject/whitespace

Whitespace
This commit is contained in:
Christian Decker
2016-11-11 16:40:23 +01:00
committed by GitHub
38 changed files with 208 additions and 209 deletions

View File

@@ -225,7 +225,10 @@ check-bolt: check-bolt.o $(CCAN_OBJS)
check-bolt.o: $(CCAN_HEADERS)
check-source: check-makefile check-source-bolt \
check-whitespace:
if grep -n '[ ]$$' Makefile daemon/test/Makefile daemon/Makefile bitcoin/Makefile check-bolt.c $(CORE_SRC) $(BITCOIN_SRC) $(DAEMON_SRC); then echo Extraneous whitespace found >&2; exit 1; fi
check-source: check-makefile check-source-bolt check-whitespace \
$(CORE_SRC:%=check-src-include-order/%) \
$(BITCOIN_SRC:%=check-src-include-order/%) \
$(CORE_HEADERS:%=check-hdr-include-order/%) \

View File

@@ -297,4 +297,3 @@ int main(int argc, char *argv[])
}
return 0;
}

View File

@@ -141,4 +141,3 @@ void feechange_changestate(struct peer *peer,
db_update_feechange_state(peer, f, oldstate);
}
}

View File

@@ -15,5 +15,4 @@ bool pay_add(struct lightningd_state *dstate,
struct htlc *htlc,
const u8 *fail,
const struct rval *r);
#endif /* LIGHTNING_DAEMON_PAY_H */

View File

@@ -39,4 +39,3 @@ const struct siphash_seed *siphash_seed(void)
return &siphashseed;
}