diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-06-14 10:30:50 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-06-14 10:30:50 +0200 |
commit | 8d36cd8d8aa72e9897f39585d1655650b0ce2589 (patch) | |
tree | 8f2f634f0f221bab3ed0ced011364773524fee77 | |
parent | f42e53655e9a2a1b516326f6522fba88db59a81c (diff) |
devdtracy: make machlocks and dtktab static
-rw-r--r-- | sys/src/9/port/devdtracy.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/src/9/port/devdtracy.c b/sys/src/9/port/devdtracy.c index 19a321cc5..96aeaf649 100644 --- 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 @@ static Cmdtab dtracyctlmsg[] = { CMgo, "go", 1, }; -DTKChan **dtktab; -int ndtktab; +static DTKChan **dtktab; +static int ndtktab; static DTKChan * dtklook(vlong n) @@ -555,7 +555,7 @@ dtgetvar(int v) } } -int peek(char *, char *, int); +extern int peek(char *, char *, int); int dtpeek(uvlong addr, void *buf, int len) |