diff options
author | H. Peter Anvin <hpa@zytor.com> | 2001-10-15 23:14:57 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2001-10-15 23:14:57 +0000 |
commit | e1762ed1c23b53b26e6841f4bba1a5688e98a2dd (patch) | |
tree | b07f9def493f6b25c9e1cce62488dd9560b19e17 /arena.c | |
parent | 8b171ab4486a07cc899f3e54660aeb613a3e4d23 (diff) | |
download | lpsm-e1762ed1c23b53b26e6841f4bba1a5688e98a2dd.tar.gz lpsm-e1762ed1c23b53b26e6841f4bba1a5688e98a2dd.tar.xz lpsm-e1762ed1c23b53b26e6841f4bba1a5688e98a2dd.zip |
Clean up the interfaces and remove some obviously incorrect code.to-tytso-20011015b
Diffstat (limited to 'arena.c')
-rw-r--r-- | arena.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -228,8 +228,6 @@ static int objstore_log_writeback(void) char *data; position += sizeof(record); - if ( !data ) - return -1; /* Badness... */ lockmain.l_type = F_WRLCK; lockmain.l_whence = SEEK_SET; @@ -303,7 +301,7 @@ static int objstore_recover_log(void) * playback (crash recovery) if the log file exists * and is nonempty. */ -void *objstore_init(char *main_file, char *log_file, size_t *arena_len) +void *objstore_init(const char *main_file, const char *log_file, size_t *arena_len) { struct ObjStore *os; void *arena_ptr; |