projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
40146e6
)
rtld.1: Staticize the variable in the _rtld_functrace example.
author
Sascha Wildner <saw@online.de>
Mon, 21 Feb 2011 20:47:42 +0000 (21:47 +0100)
committer
Sascha Wildner <saw@online.de>
Mon, 21 Feb 2011 20:47:42 +0000 (21:47 +0100)
Pointed-out-by: corecode
libexec/rtld-elf/rtld.1
patch
|
blob
|
blame
|
history
diff --git
a/libexec/rtld-elf/rtld.1
b/libexec/rtld-elf/rtld.1
index
5c9a545
..
0eadb30
100644
(file)
--- a/
libexec/rtld-elf/rtld.1
+++ b/
libexec/rtld-elf/rtld.1
@@
-188,7
+188,7
@@
for printing out the functions as they are called, this code can be used:
.Bd -literal -offset indent
#include <string.h>
-int nl = 10;
+static int nl = 10;
int
_rtld_functrace(const char *callerso, const char *calleeso,