fix warnings

This commit is contained in:
Love Hornquist Astrand
2010-06-03 16:16:48 -07:00
parent abd5fdab5a
commit efa5a314a8
3 changed files with 3 additions and 3 deletions

View File

@@ -47,7 +47,7 @@
*/
int
_hc_unix_device_fd(int flags, char **fn)
_hc_unix_device_fd(int flags, const char **fn)
{
static const char *rnd_devices[] = {
"/dev/urandom",

View File

@@ -342,7 +342,7 @@ RAND_write_file(const char *filename)
const char *
RAND_file_name(char *filename, size_t size)
{
char *e = NULL;
const char *e = NULL;
int pathp = 0, ret;
if (!issuid()) {

View File

@@ -45,6 +45,6 @@ extern const RAND_METHOD hc_rand_timer_method;
extern const RAND_METHOD hc_rand_w32crypto_method;
const RAND_METHOD * RAND_timer_method(void);
int _hc_unix_device_fd(int, char **);
int _hc_unix_device_fd(int, const char **);
#endif /* _HEIM_RANDI_H */