]> granicus.if.org Git - apache/commitdiff
Add const-ness to apr_dbd_driver_t
authorNick Kew <niq@apache.org>
Thu, 11 Aug 2005 14:12:13 +0000 (14:12 +0000)
committerNick Kew <niq@apache.org>
Thu, 11 Aug 2005 14:12:13 +0000 (14:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@231464 13f79535-47bb-0310-9956-ffa450edef68

modules/experimental/mod_dbd.c
modules/experimental/mod_dbd.h

index ccf359a81b07276791c7d8c33d8ac5d92d9513b0..f025b650d3004752a4301a588b41b7f1c3f3ca4b 100644 (file)
@@ -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);
 
index c0f975ab43b4794096cbea484c9e3eff38e40605..247c1ba51d086b3062e44c3f139eff9ebf2018dd 100644 (file)
@@ -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;