summaryrefslogtreecommitdiffstats
path: root/tapset/errno.stp
diff options
context:
space:
mode:
Diffstat (limited to 'tapset/errno.stp')
-rw-r--r--tapset/errno.stp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tapset/errno.stp b/tapset/errno.stp
index 2523d846..eda9bff1 100644
--- a/tapset/errno.stp
+++ b/tapset/errno.stp
@@ -9,7 +9,7 @@
%{
#define N(a) [a]=#a
-const char * const errlist[] = {
+static const char * const errlist[] = {
/* from asm-generic/errno-base.h */
[1] = "EPERM",
[2] = "ENOENT",
@@ -340,7 +340,7 @@ const char * const errlist[] = {
#endif
};
#undef N
-const int Maxerrno = sizeof(errlist)/sizeof(char *);
+static const int Maxerrno = sizeof(errlist)/sizeof(char *);
%}
function errno_str:string (err:long) %{ /* pure */