summaryrefslogtreecommitdiffstats
path: root/Modules/_bsddb.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-12-28 04:47:50 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-12-28 04:47:50 (GMT)
commitf6657e67b3cf89649d14d9012b3964a3490d45b0 (patch)
treef04317257f7b1ff54f5142eda58af84c6d261bc1 /Modules/_bsddb.c
parent545686b279ef382ec35aa12afa1f9271ce6d5109 (diff)
downloadcpython-f6657e67b3cf89649d14d9012b3964a3490d45b0.zip
cpython-f6657e67b3cf89649d14d9012b3964a3490d45b0.tar.gz
cpython-f6657e67b3cf89649d14d9012b3964a3490d45b0.tar.bz2
Cruft removal:
* DL_IMPORT/DL_EXPORT * #if 0'd code * Py_PROTO which was obsolete, but still used in one place in addrinfo.h
Diffstat (limited to 'Modules/_bsddb.c')
-rw-r--r--Modules/_bsddb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_bsddb.c b/Modules/_bsddb.c
index 79f06dc..68489e9 100644
--- a/Modules/_bsddb.c
+++ b/Modules/_bsddb.c
@@ -5627,7 +5627,7 @@ static PyMethodDef bsddb_methods[] = {
#define MODULE_NAME_MAX_LEN 11
static char _bsddbModuleName[MODULE_NAME_MAX_LEN+1] = "_bsddb";
-DL_EXPORT(void) init_bsddb(void)
+PyMODINIT_FUNC init_bsddb(void)
{
PyObject* m;
PyObject* d;
@@ -6032,7 +6032,7 @@ DL_EXPORT(void) init_bsddb(void)
/* allow this module to be named _pybsddb so that it can be installed
* and imported on top of python >= 2.3 that includes its own older
* copy of the library named _bsddb without importing the old version. */
-DL_EXPORT(void) init_pybsddb(void)
+PyMODINIT_FUNC init_pybsddb(void)
{
strncpy(_bsddbModuleName, "_pybsddb", MODULE_NAME_MAX_LEN);
init_bsddb();