diff options
Diffstat (limited to 'src/filelock.c')
| -rw-r--r-- | src/filelock.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/filelock.c b/src/filelock.c index 25ca23fdee4..15ed546bc50 100644 --- a/src/filelock.c +++ b/src/filelock.c | |||
| @@ -118,7 +118,7 @@ static time_t boot_time; | |||
| 118 | static int boot_time_initialized; | 118 | static int boot_time_initialized; |
| 119 | 119 | ||
| 120 | #ifdef BOOT_TIME | 120 | #ifdef BOOT_TIME |
| 121 | static void get_boot_time_1 (char *, int); | 121 | static void get_boot_time_1 (const char *, int); |
| 122 | #endif | 122 | #endif |
| 123 | 123 | ||
| 124 | static time_t | 124 | static time_t |
| @@ -249,7 +249,7 @@ get_boot_time (void) | |||
| 249 | Success is indicated by setting BOOT_TIME to a larger value. */ | 249 | Success is indicated by setting BOOT_TIME to a larger value. */ |
| 250 | 250 | ||
| 251 | void | 251 | void |
| 252 | get_boot_time_1 (char *filename, int newest) | 252 | get_boot_time_1 (const char *filename, int newest) |
| 253 | { | 253 | { |
| 254 | struct utmp ut, *utp; | 254 | struct utmp ut, *utp; |
| 255 | int desc; | 255 | int desc; |
| @@ -360,8 +360,8 @@ lock_file_1 (char *lfname, int force) | |||
| 360 | { | 360 | { |
| 361 | register int err; | 361 | register int err; |
| 362 | time_t boot_time; | 362 | time_t boot_time; |
| 363 | char *user_name; | 363 | const char *user_name; |
| 364 | char *host_name; | 364 | const char *host_name; |
| 365 | char *lock_info_str; | 365 | char *lock_info_str; |
| 366 | 366 | ||
| 367 | /* Call this first because it can GC. */ | 367 | /* Call this first because it can GC. */ |