From 39d6c7d5c504331c19c22dbf8e970323b22985e6 Mon Sep 17 00:00:00 2001 From: Nick Kew Date: Thu, 11 Aug 2005 14:12:13 +0000 Subject: [PATCH] Add const-ness to apr_dbd_driver_t git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231464 13f79535-47bb-0310-9956-ffa450edef68 --- modules/experimental/mod_dbd.c | 2 +- modules/experimental/mod_dbd.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/experimental/mod_dbd.c b/modules/experimental/mod_dbd.c index ccf359a81b0..f025b650d30 100644 --- a/modules/experimental/mod_dbd.c +++ b/modules/experimental/mod_dbd.c @@ -71,7 +71,7 @@ typedef enum { cmd_name, cmd_params, cmd_persist, static const char *dbd_param(cmd_parms *cmd, void *cfg, const char *val) { const char *p; - apr_dbd_driver_t *driver = NULL; + const apr_dbd_driver_t *driver = NULL; svr_cfg *svr = (svr_cfg*) ap_get_module_config (cmd->server->module_config, &dbd_module); diff --git a/modules/experimental/mod_dbd.h b/modules/experimental/mod_dbd.h index c0f975ab43b..247c1ba51d0 100644 --- a/modules/experimental/mod_dbd.h +++ b/modules/experimental/mod_dbd.h @@ -29,7 +29,7 @@ typedef struct { apr_dbd_t *handle; - apr_dbd_driver_t *driver; + const apr_dbd_driver_t *driver; apr_hash_t *prepared; } ap_dbd_t; -- 2.47.2