ref: edfe7779751000c6f9f2f6a805668309f33ef314
parent: e3323cec8ab6bb99f1aff62ed2987feb786b8bbd
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Fri Aug 13 09:22:09 EDT 2021
move debug global to util.h
--- a/rtmp.c
+++ b/rtmp.c
@@ -203,8 +203,6 @@
[PubRecord] = "record",
};
-extern int debug;
-
static void
newmsg(RTMP *r, int type, int fmt, int cs)
{
--- a/util.h
+++ b/util.h
@@ -1,4 +1,5 @@
#define Zns₀ (~0ULL)
+extern int debug;
void *emalloc(usize sz);
void *ecalloc(ulong nel, usize elsz);