Skip to content

Commit c434b4a

Browse files
committed
constified
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 840bfea commit c434b4a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dln.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -232,13 +232,13 @@ load_header(int fd, struct exec *hdrp, long disp)
232232
# define R_RIGHTSHIFT(r) (reloc_r_rightshift[(r)->r_type])
233233
# define R_BITSIZE(r) (reloc_r_bitsize[(r)->r_type])
234234
# define R_LENGTH(r) (reloc_r_length[(r)->r_type])
235-
static int reloc_r_rightshift[] = {
235+
static const int reloc_r_rightshift[] = {
236236
0, 0, 0, 0, 0, 0, 2, 2, 10, 0, 0, 0, 0, 0, 0,
237237
};
238-
static int reloc_r_bitsize[] = {
238+
static const int reloc_r_bitsize[] = {
239239
8, 16, 32, 8, 16, 32, 30, 22, 22, 22, 13, 10, 32, 32, 16,
240240
};
241-
static int reloc_r_length[] = {
241+
static const int reloc_r_length[] = {
242242
0, 1, 2, 0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
243243
};
244244
# define R_PCREL(r) \

0 commit comments

Comments
 (0)