summaryrefslogtreecommitdiff
path: root/dhcpctl/callback.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1999-10-07 06:36:35 +0000
committerTed Lemon <source@isc.org>1999-10-07 06:36:35 +0000
commitb1b7b521fe85027146beeea652e9677b2f43f7ec (patch)
tree4ad373a9e7f1f3fb91a8c9fba1be4127003cf40e /dhcpctl/callback.c
parent77a5f87162dd4b32ee082b87f741793432341cc8 (diff)
downloadisc-dhcp-b1b7b521fe85027146beeea652e9677b2f43f7ec.tar.gz
Get a clean compile with all known gcc warnings.
Diffstat (limited to 'dhcpctl/callback.c')
-rw-r--r--dhcpctl/callback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpctl/callback.c b/dhcpctl/callback.c
index d6da79d8..d1f37be3 100644
--- a/dhcpctl/callback.c
+++ b/dhcpctl/callback.c
@@ -95,7 +95,7 @@ isc_result_t dhcpctl_callback_get_value (omapi_object_t *h,
}
isc_result_t dhcpctl_callback_signal_handler (omapi_object_t *o,
- char *name, va_list ap)
+ const char *name, va_list ap)
{
dhcpctl_callback_object_t *p;
isc_result_t waitstatus;
@@ -125,7 +125,7 @@ isc_result_t dhcpctl_callback_signal_handler (omapi_object_t *o,
return ISC_R_SUCCESS;
}
-isc_result_t dhcpctl_callback_destroy (omapi_object_t *h, char *name)
+isc_result_t dhcpctl_callback_destroy (omapi_object_t *h, const char *name)
{
dhcpctl_callback_object_t *p;
if (h -> type != dhcpctl_callback_type)