summaryrefslogtreecommitdiff
path: root/source3/python/py_lsa.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-02-18 05:05:15 +0000
committerTim Potter <tpot@samba.org>2003-02-18 05:05:15 +0000
commit8f9a17be892f87ab576f1824a7b6fe37abd59887 (patch)
tree0d9c7b6a363f210a562f20c195c55afab32afc37 /source3/python/py_lsa.h
parentfb8d1412e1e109a1af8acc759c128df8c82bd47d (diff)
downloadsamba-8f9a17be892f87ab576f1824a7b6fe37abd59887.tar.gz
samba-8f9a17be892f87ab576f1824a7b6fe37abd59887.tar.bz2
samba-8f9a17be892f87ab576f1824a7b6fe37abd59887.zip
Cleanup of header files for python extensions.
- combine py_foo_proto.h and py_foo.h - move #include of Python.h into one place so we can get rid of that annoying compiler warning about HAVE_FSTAT being redefined (This used to be commit 0659351b251aee438bb9e92682bc445f164923a5)
Diffstat (limited to 'source3/python/py_lsa.h')
-rw-r--r--source3/python/py_lsa.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/source3/python/py_lsa.h b/source3/python/py_lsa.h
index f9a30d2f7e..99f3de50b1 100644
--- a/source3/python/py_lsa.h
+++ b/source3/python/py_lsa.h
@@ -21,10 +21,7 @@
#ifndef _PY_LSA_H
#define _PY_LSA_H
-#include "includes.h"
-#include "Python.h"
-
-#include "python/py_common_proto.h"
+#include "python/py_common.h"
/* LSA policy handle object */
@@ -41,6 +38,4 @@ extern PyTypeObject lsa_policy_hnd_type;
extern PyObject *lsa_error;
-#include "python/py_lsa_proto.h"
-
#endif /* _PY_LSA_H */