Loading...
--- Libc/Libc-391/gen/arc4random.c
+++ Libc/Libc-320/gen/arc4random.c
@@ -2,6 +2,8 @@
* Copyright (c) 2003 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
+ *
+ * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
@@ -62,7 +64,6 @@
static int rs_initialized;
static struct arc4_stream *rs = NULL;
-static inline void arc4_init(struct arc4_stream *) __attribute__((always_inline));
static inline void
arc4_init(as)
struct arc4_stream *as;
@@ -75,7 +76,6 @@
as->j = 0;
}
-static inline void arc4_addrandom(struct arc4_stream *, u_char *, int) __attribute__((always_inline));
static inline void
arc4_addrandom(as, dat, datlen)
struct arc4_stream *as;
@@ -119,7 +119,6 @@
arc4_addrandom(as, (void *) &rdat, sizeof(rdat));
}
-static inline u_int8_t arc4_getbyte(struct arc4_stream *) __attribute__((always_inline));
static inline u_int8_t
arc4_getbyte(as)
struct arc4_stream *as;
@@ -135,7 +134,6 @@
return (as->s[(si + sj) & 0xff]);
}
-static inline u_int32_t arc4_getword(struct arc4_stream *) __attribute__((always_inline));
static inline u_int32_t
arc4_getword(as)
struct arc4_stream *as;