From: Nick Kew Date: Thu, 11 Aug 2005 14:12:13 +0000 (+0000) Subject: Add const-ness to apr_dbd_driver_t X-Git-Tag: 2.1.7~5^2~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=39d6c7d5c504331c19c22dbf8e970323b22985e6;p=apache 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 --- diff --git a/modules/experimental/mod_dbd.c b/modules/experimental/mod_dbd.c index ccf359a81b..f025b650d3 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 c0f975ab43..247c1ba51d 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;