From: Sascha Wildner Date: Mon, 21 Feb 2011 20:47:42 +0000 (+0100) Subject: rtld.1: Staticize the variable in the _rtld_functrace example. X-Git-Tag: v2.11.0~267^2~34 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/4ee0d87668ca4b34f885d611618301b099ab39ae rtld.1: Staticize the variable in the _rtld_functrace example. Pointed-out-by: corecode --- diff --git a/libexec/rtld-elf/rtld.1 b/libexec/rtld-elf/rtld.1 index 5c9a54513c..0eadb30685 100644 --- 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 -int nl = 10; +static int nl = 10; int _rtld_functrace(const char *callerso, const char *calleeso,