Skip to content

Commit 5212ef8

Browse files
committed
Correct definition of srandom() --- it takes unsigned int not int.
1 parent 04075a0 commit 5212ef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/config.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ extern long random(void);
237237
/* Set to 1 if you have srandom() */
238238
#undef HAVE_SRANDOM
239239
#ifndef HAVE_SRANDOM
240-
extern void srandom(int seed);
240+
extern void srandom(unsigned int seed);
241241
#endif
242242

243243
/* Set to 1 if you have libreadline.a */

0 commit comments

Comments
 (0)