Add deprecation warning to modules deprecated since 2000.
diff --git a/Modules/rgbimgmodule.c b/Modules/rgbimgmodule.c
index 67b5521..a2b91c4 100644
--- a/Modules/rgbimgmodule.c
+++ b/Modules/rgbimgmodule.c
@@ -759,6 +759,11 @@
 	m = Py_InitModule("rgbimg", rgbimg_methods);
 	if (m == NULL)
 		return;
+
+	if (PyErr_Warn(PyExc_DeprecationWarning, 
+				"the rgbimg module is deprecated"))
+		return;
+	
 	d = PyModule_GetDict(m);
 	ImgfileError = PyErr_NewException("rgbimg.error", NULL, NULL);
 	if (ImgfileError != NULL)