Skip to content

Commit aaa7feb

Browse files
author
kleink
committed
Declare rs_initialized static.
1 parent 5ba0e4e commit aaa7feb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/libc/gen/arc4random.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: arc4random.c,v 1.5 2002/11/11 01:13:07 thorpej Exp $ */
1+
/* $NetBSD: arc4random.c,v 1.6 2005/02/09 12:09:08 kleink Exp $ */
22
/* $OpenBSD: arc4random.c,v 1.6 2001/06/05 05:05:38 pvalchev Exp $ */
33

44
/*
@@ -45,7 +45,7 @@ struct arc4_stream {
4545
u_int8_t s[256];
4646
};
4747

48-
int rs_initialized;
48+
static int rs_initialized;
4949
static struct arc4_stream rs;
5050

5151
static inline void arc4_init(struct arc4_stream *);

0 commit comments

Comments
 (0)