From 29d9d634c059d9b1315c00168b41e6129cf8cc3f Mon Sep 17 00:00:00 2001 From: root Date: Sat, 4 Feb 2006 16:12:48 +0000 Subject: [PATCH] *** empty log message *** --- src/rxvtperl.xs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rxvtperl.xs b/src/rxvtperl.xs index 7056a6e0..70ec1473 100644 --- a/src/rxvtperl.xs +++ b/src/rxvtperl.xs @@ -764,7 +764,7 @@ BOOT: # undef def HV *stash = gv_stashpv ("urxvt", 1); - struct { + static const struct { const char *name; IV iv; } *civ, const_iv[] = { @@ -1494,7 +1494,7 @@ void rxvt_term::_resource (char *name, int index, SV *newval = 0) PPCODE: { - struct resval { const char *name; int value; } rslist [] = { + static const struct resval { const char *name; int value; } *rs, rslist [] = { # define def(name) { # name, Rs_ ## name }, # define reserve(name,count) # include "rsinc.h" @@ -1502,7 +1502,7 @@ rxvt_term::_resource (char *name, int index, SV *newval = 0) # undef reserve }; - struct resval *rs = rslist + sizeof (rslist) / sizeof (rslist [0]); + rs = rslist + sizeof (rslist) / sizeof (rslist [0]); do { if (rs-- == rslist) -- 2.34.1