rtld.1: Staticize the variable in the _rtld_functrace example.
authorSascha Wildner <saw@online.de>
Mon, 21 Feb 2011 20:47:42 +0000 (21:47 +0100)
committerSascha Wildner <saw@online.de>
Mon, 21 Feb 2011 20:47:42 +0000 (21:47 +0100)
Pointed-out-by: corecode
libexec/rtld-elf/rtld.1

index 5c9a545..0eadb30 100644 (file)
@@ -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,