summaryrefslogtreecommitdiff
path: root/source3/python/py_spoolss_ports.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-03-28 04:14:43 +0000
committerTim Potter <tpot@samba.org>2002-03-28 04:14:43 +0000
commit230e36ccded13f5bf0e95ff93e6aa65ad7e368ec (patch)
tree64d97e5198e9ce205a0028498769ef7131c79795 /source3/python/py_spoolss_ports.c
parent321767cb6607a87598c10be692ad26a17dd30ab4 (diff)
downloadsamba-230e36ccded13f5bf0e95ff93e6aa65ad7e368ec.tar.gz
samba-230e36ccded13f5bf0e95ff93e6aa65ad7e368ec.tar.bz2
samba-230e36ccded13f5bf0e95ff93e6aa65ad7e368ec.zip
Aborted experiment to avoid namespace pollution and prototype hell and
moved to 'make proto' based solution. (This used to be commit 1e48f872a494228e82fd32c789b3dcea6b014211)
Diffstat (limited to 'source3/python/py_spoolss_ports.c')
-rw-r--r--source3/python/py_spoolss_ports.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/source3/python/py_spoolss_ports.c b/source3/python/py_spoolss_ports.c
index 1064f3f3d2..a7d55a7897 100644
--- a/source3/python/py_spoolss_ports.c
+++ b/source3/python/py_spoolss_ports.c
@@ -18,10 +18,6 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "includes.h"
-#include "Python.h"
-
-#include "python/py_conv.h"
#include "python/py_spoolss.h"
struct pyconv py_PORT_INFO_1[] = {
@@ -40,8 +36,7 @@ struct pyconv py_PORT_INFO_2[] = {
/* Enumerate ports */
-static PyObject *spoolss_enumports(PyObject *self, PyObject *args,
- PyObject *kw)
+PyObject *spoolss_enumports(PyObject *self, PyObject *args, PyObject *kw)
{
WERROR werror;
PyObject *result, *creds = NULL;