summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
Diffstat (limited to 'solenv')
-rw-r--r--solenv/lockfile/lockfile.c4
-rw-r--r--solenv/lockfile/lockfile.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/solenv/lockfile/lockfile.c b/solenv/lockfile/lockfile.c
index a902484b9484..52be40b0fb56 100644
--- a/solenv/lockfile/lockfile.c
+++ b/solenv/lockfile/lockfile.c
@@ -224,7 +224,7 @@ static int lockfilename(const char *lockfile, char *tmplock, size_t tmplocksz)
static int lockfile_create_save_tmplock(const char *lockfile,
char *tmplock, size_t tmplocksz,
volatile char **xtmplock,
- int retries, int flags, struct lockargs_s_ *args)
+ int retries, int flags, const struct lockargs_s_ *args)
{
struct stat st, st1;
char pidbuf[40];
@@ -381,7 +381,7 @@ static int lockfile_create_save_tmplock(const char *lockfile,
#ifdef LIB
static
#endif
-int lockfile_create_set_tmplock(const char *lockfile, volatile char **xtmplock, int retries, int flags, struct lockargs_s_ *args)
+int lockfile_create_set_tmplock(const char *lockfile, volatile char **xtmplock, int retries, int flags, const struct lockargs_s_ *args)
{
char *tmplock;
int r, e;
diff --git a/solenv/lockfile/lockfile.h b/solenv/lockfile/lockfile.h
index 945db9cb9263..f2f72022f49e 100644
--- a/solenv/lockfile/lockfile.h
+++ b/solenv/lockfile/lockfile.h
@@ -63,7 +63,7 @@ int check_sleep(int, int);
#endif
int is_maillock(const char *lockfile);
int lockfile_create_set_tmplock(const char *lockfile, volatile char **tmplock,
- int retries, int flags, struct lockargs_s_ *);
+ int retries, int flags, const struct lockargs_s_ *);
#ifdef __cplusplus
}