summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-07-04 19:49:07 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-07-04 19:49:07 +0100
commitf3199102a68c72460fd0a025ab966557a0996223 (patch)
treeb9c8eb676ecdc6190e917e2f39c20792b28c04c7
parent6f5ec9552ca169b66b338698850a125151e3599c (diff)
downloaddbus-python-f3199102a68c72460fd0a025ab966557a0996223.tar.gz
Don't include stdint.h
Every use here turns out to be unnecessary, some compilers *still* don't have it after more than a decade in ISO C, and if we need fixed-length integer types we can use the ones from D-Bus.
-rw-r--r--_dbus_bindings/abstract.c2
-rw-r--r--_dbus_bindings/bytes.c2
-rw-r--r--_dbus_bindings/containers.c2
-rw-r--r--_dbus_bindings/float.c2
-rw-r--r--_dbus_bindings/signature.c2
-rw-r--r--_dbus_bindings/types-internal.h1
6 files changed, 0 insertions, 11 deletions
diff --git a/_dbus_bindings/abstract.c b/_dbus_bindings/abstract.c
index f2cbebc..2e6f438 100644
--- a/_dbus_bindings/abstract.c
+++ b/_dbus_bindings/abstract.c
@@ -26,8 +26,6 @@
#include <Python.h>
#include <structmember.h>
-#include <stdint.h>
-
#include "dbus_bindings-internal.h"
#include "types-internal.h"
diff --git a/_dbus_bindings/bytes.c b/_dbus_bindings/bytes.c
index fc490d9..51c1cd8 100644
--- a/_dbus_bindings/bytes.c
+++ b/_dbus_bindings/bytes.c
@@ -26,8 +26,6 @@
#include <Python.h>
#include <structmember.h>
-#include <stdint.h>
-
#include "dbus_bindings-internal.h"
#include "types-internal.h"
diff --git a/_dbus_bindings/containers.c b/_dbus_bindings/containers.c
index 9e57243..1ac6063 100644
--- a/_dbus_bindings/containers.c
+++ b/_dbus_bindings/containers.c
@@ -26,8 +26,6 @@
#include <Python.h>
#include <structmember.h>
-#include <stdint.h>
-
#include "dbus_bindings-internal.h"
#include "types-internal.h"
diff --git a/_dbus_bindings/float.c b/_dbus_bindings/float.c
index 9ea8413..f540f5b 100644
--- a/_dbus_bindings/float.c
+++ b/_dbus_bindings/float.c
@@ -26,8 +26,6 @@
#include <Python.h>
#include <structmember.h>
-#include <stdint.h>
-
#include "dbus_bindings-internal.h"
#include "types-internal.h"
diff --git a/_dbus_bindings/signature.c b/_dbus_bindings/signature.c
index 766fd8e..fa8f937 100644
--- a/_dbus_bindings/signature.c
+++ b/_dbus_bindings/signature.c
@@ -26,8 +26,6 @@
#include <Python.h>
#include <structmember.h>
-#include <stdint.h>
-
#include "dbus_bindings-internal.h"
#include "types-internal.h"
diff --git a/_dbus_bindings/types-internal.h b/_dbus_bindings/types-internal.h
index 8a715d4..2024803 100644
--- a/_dbus_bindings/types-internal.h
+++ b/_dbus_bindings/types-internal.h
@@ -24,7 +24,6 @@
*/
#include <Python.h>
-#include <stdint.h>
/* In Python2 >= 2.6 this aliases PyString to PyBytes. There is no PyString
* in Python 3, so this allows the C extension to be compilable in both Python