summaryrefslogtreecommitdiff
path: root/Modules/_dbmmodule.c
diff options
context:
space:
mode:
authordoko <doko@ubuntu.com>2017-01-31 13:35:26 +0100
committerdoko <doko@ubuntu.com>2017-01-31 13:35:26 +0100
commite0cb38ac4330d5e09b5e21c74c5d5e453af99a4f (patch)
treea64fe56edb37bb84d4ffea1990c0ac124a6dba9d /Modules/_dbmmodule.c
parentd7764ed2a9255ddb5bdb7d3f184610cdc7a66aad (diff)
parent602663ac0effc2e8e3b615141babd95ed7691dda (diff)
downloadcpython-e0cb38ac4330d5e09b5e21c74c5d5e453af99a4f.tar.gz
merge 3.5
Diffstat (limited to 'Modules/_dbmmodule.c')
-rw-r--r--Modules/_dbmmodule.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_dbmmodule.c b/Modules/_dbmmodule.c
index ea8790b0e7..804978a6ac 100644
--- a/Modules/_dbmmodule.c
+++ b/Modules/_dbmmodule.c
@@ -14,16 +14,16 @@
*/
#if defined(HAVE_NDBM_H)
#include <ndbm.h>
-static char *which_dbm = "GNU gdbm"; /* EMX port of GDBM */
+static const char which_dbm[] = "GNU gdbm"; /* EMX port of GDBM */
#elif defined(HAVE_GDBM_NDBM_H)
#include <gdbm/ndbm.h>
-static char *which_dbm = "GNU gdbm";
+static const char which_dbm[] = "GNU gdbm";
#elif defined(HAVE_GDBM_DASH_NDBM_H)
#include <gdbm-ndbm.h>
-static char *which_dbm = "GNU gdbm";
+static const char which_dbm[] = "GNU gdbm";
#elif defined(HAVE_BERKDB_H)
#include <db.h>
-static char *which_dbm = "Berkeley DB";
+static const char which_dbm[] = "Berkeley DB";
#else
#error "No ndbm.h available!"
#endif