ref: 78f9fb5242b0180638be8f7f6e39fa14488570b9
parent: 052315582c09fe31f221b0424671b648a245f8f3
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Fri Jun 14 06:30:50 EDT 2019
devdtracy: make machlocks and dtktab static
--- a/sys/src/9/port/devdtracy.c
+++ b/sys/src/9/port/devdtracy.c
@@ -7,7 +7,7 @@
#include <dtracy.h>
-Lock *machlocks;
+static Lock *machlocks;
typedef struct DTKChan DTKChan;
typedef struct DTKAux DTKAux;
@@ -76,8 +76,8 @@
CMgo, "go", 1,
};
-DTKChan **dtktab;
-int ndtktab;
+static DTKChan **dtktab;
+static int ndtktab;
static DTKChan *
dtklook(vlong n)
@@ -555,7 +555,7 @@
}
}
-int peek(char *, char *, int);
+extern int peek(char *, char *, int);
int
dtpeek(uvlong addr, void *buf, int len)
--
⑨