Comments
Patch
@@ -13,9 +13,9 @@
#include <stddef.h>
#include <string.h>
+#include "bitmanipulation.h"
#include "charencode.h"
#include "util.h"
-#include "bitmanipulation.h"
#ifdef IS_PY3K
/* The mapping of Python types is meant to be temporary to get Python
@@ -12,9 +12,9 @@
#include <stddef.h>
#include <string.h>
+#include "bitmanipulation.h"
#include "charencode.h"
#include "util.h"
-#include "bitmanipulation.h"
#ifdef IS_PY3K
/* The mapping of Python types is meant to be temporary to get Python
@@ -9,15 +9,15 @@
#define _ATFILE_SOURCE
#include <Python.h>
+#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <errno.h>
#ifdef _WIN32
+#include <io.h>
#include <windows.h>
-#include <io.h>
#else
#include <dirent.h>
#include <sys/socket.h>
@@ -25,10 +25,10 @@
#include <stdlib.h>
#include <string.h>
-#include "util.h"
#include "bitmanipulation.h"
#include "compat.h"
#include "mpatch.h"
+#include "util.h"
static char mpatch_doc[] = "Efficient binary patching.";
static PyObject *mpatch_Error;
@@ -9,8 +9,8 @@
#include <Python.h>
#include <assert.h>
+#include <stdlib.h>
#include <string.h>
-#include <stdlib.h>
#include "charencode.h"
#include "util.h"
@@ -9,6 +9,7 @@
#define PY_SSIZE_T_CLEAN
#include <Python.h>
+
#include "util.h"
#ifdef IS_PY3K
@@ -11,9 +11,9 @@
#define PY_SSIZE_T_CLEAN
#include <Python.h>
+#include <limits.h>
#include <stdlib.h>
#include <string.h>
-#include <limits.h>
#include "bdiff.h"
#include "bitmanipulation.h"