(syslogvals): static-ize

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8992 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-08-24 22:23:30 +00:00
parent 75ebf75ce0
commit ce07d85131

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997-1999 Kungliga Tekniska H<>gskolan * Copyright (c) 1997-2000 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden). * (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved. * All rights reserved.
* *
@@ -56,14 +56,14 @@ log_realloc(krb5_log_facility *f)
return fp; return fp;
} }
struct s2i{ struct s2i {
char *s; char *s;
int val; int val;
}; };
#define L(X) { #X, LOG_ ## X } #define L(X) { #X, LOG_ ## X }
struct s2i syslogvals[] = { static struct s2i syslogvals[] = {
L(EMERG), L(EMERG),
L(ALERT), L(ALERT),
L(CRIT), L(CRIT),