Remove varint typedef for bigsize

It's not part of the spec anymore

Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
This commit is contained in:
Antoine Poinsot
2020-09-23 00:49:53 +02:00
committed by Rusty Russell
parent 7db8680530
commit 15adcc915f
7 changed files with 7 additions and 13 deletions

View File

@@ -21,11 +21,6 @@ size_t bigsize_len(bigsize_t v);
/* Used for wire generation */
typedef bigsize_t bigsize;
/* FIXME: Some versions of spec using 'varint' for bigsize' */
typedef bigsize varint;
#define fromwire_varint fromwire_bigsize
#define towire_varint towire_bigsize
/* marshal/unmarshal functions */
void towire_bigsize(u8 **pptr, const bigsize_t val);
bigsize_t fromwire_bigsize(const u8 **cursor, size_t *max);