summaryrefslogtreecommitdiff
path: root/dbutil.h
diff options
context:
space:
mode:
authorFrancois Perrad <francois.perrad@gadz.org>2017-08-19 22:39:53 +0200
committerFrancois Perrad <francois.perrad@gadz.org>2017-08-19 22:39:53 +0200
commit2d3dbea54538277663f55515cac3d27ce16f0559 (patch)
tree210cd9ae566803253d96d24fc4fe9be1013c42f6 /dbutil.h
parent63300b49f30b3d63a551d4d568ae95fea24035ba (diff)
downloaddropbear-2d3dbea54538277663f55515cac3d27ce16f0559.tar.gz
Pointer parameter could be declared as pointing to const (callback)
Diffstat (limited to 'dbutil.h')
-rw-r--r--dbutil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbutil.h b/dbutil.h
index d83b20a..fe82272 100644
--- a/dbutil.h
+++ b/dbutil.h
@@ -56,7 +56,7 @@ extern int debug_trace;
char * stripcontrol(const char * text);
-int spawn_command(void(*exec_fn)(void *user_data), void *exec_data,
+int spawn_command(void(*exec_fn)(const void *user_data), const void *exec_data,
int *writefd, int *readfd, int *errfd, pid_t *pid);
void run_shell_command(const char* cmd, unsigned int maxfd, char* usershell);
#ifdef ENABLE_CONNECT_UNIX