These do _not_ appear to be the errors returned by randomkit.c at all.
#define RK_DEV_RANDOM "/dev/random"
#endif
-char *rk_strerror[RK_ERR_MAX] =
-{
- "no error",
- "random device unvavailable"
-};
-
void
rk_seed(unsigned long seed, rk_state *state)
{
}
rk_state;
-typedef enum {
- RK_NOERR = 0, /* no error */
- RK_ENODEV = 1, /* no RK_DEV_RANDOM device */
- RK_ERR_MAX = 2
-} rk_error;
-
-/* error strings */
-extern char *rk_strerror[RK_ERR_MAX];
-
/* Maximum generated random value */
#define RK_MAX 0xFFFFFFFFUL