diff --git a/PC/example_nt/example.c b/PC/example_nt/example.c
index 63682f11f07..46cb429dae3 100644
--- a/PC/example_nt/example.c
+++ b/PC/example_nt/example.c
@@ -13,7 +13,7 @@ static PyMethodDef example_methods[] = {
{NULL, NULL}
};
-void
+PyMODINIT_FUNC
initexample(void)
{
Py_InitModule("example", example_methods);
diff --git a/PC/example_nt/example.def b/PC/example_nt/example.def
deleted file mode 100644
index 96b69a52ddc..00000000000
--- a/PC/example_nt/example.def
+++ /dev/null
@@ -1,2 +0,0 @@
-EXPORTS
- initexample
diff --git a/PC/example_nt/example.vcproj b/PC/example_nt/example.vcproj
index 0e6830bd24c..7c0d4bb1bc5 100644
--- a/PC/example_nt/example.vcproj
+++ b/PC/example_nt/example.vcproj
@@ -39,12 +39,12 @@
-
-