Whamcloud - gitweb
libe2p: Fix namespace leakage of os_tab
authorTheodore Ts'o <tytso@mit.edu>
Mon, 25 Aug 2008 02:46:31 +0000 (22:46 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 25 Aug 2008 02:46:31 +0000 (22:46 -0400)
Make os_tab static, since there's no reason it should be exposed.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/e2p/ostype.c

index 826e080..3cd6257 100644 (file)
@@ -11,7 +11,7 @@
 #include <string.h>
 #include <stdlib.h>
 
-const char *os_tab[] =
+static const char *os_tab[] =
        { "Linux", 
          "Hurd", 
          "Masix",