summaryrefslogtreecommitdiff
path: root/ptr_chck.c
diff options
context:
space:
mode:
Diffstat (limited to 'ptr_chck.c')
-rw-r--r--ptr_chck.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ptr_chck.c b/ptr_chck.c
index c168ff9f..6195ac86 100644
--- a/ptr_chck.c
+++ b/ptr_chck.c
@@ -11,13 +11,13 @@
* modified is included with the above copyright notice.
*/
+#include "private/gc_pmark.h"
+
/*
* These are checking routines calls to which could be inserted by a
* preprocessor to validate C pointer arithmetic.
*/
-#include "private/gc_pmark.h"
-
STATIC void GC_CALLBACK GC_default_same_obj_print_proc(void * p, void * q)
{
GC_err_printf("%p and %p are not in the same object\n", p, q);
@@ -255,7 +255,6 @@ fail:
return(p);
}
-
GC_API void * GC_CALL GC_pre_incr (void **p, ptrdiff_t how_much)
{
void * initial = *p;