commit 612f784709e8c5a77cc48c6ba749eb1f92cf330c
parent 1e8af9b0f5ab685d5a7c02967d7493a41965c45a
Author: Amitai Schleier <schmonz-web-git@schmonz.com>
Date: Fri, 18 Dec 2020 11:02:31 +0100
Move up the other "deprecated.h" includes.
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/alloc.h b/alloc.h
@@ -3,10 +3,11 @@
#include <stdlib.h>
+#include "deprecated.h"
+
#define alloc(x) malloc(x)
#define alloc_free(x) free(x)
-#include "deprecated.h"
#ifdef DEPRECATED_FUNCTIONS_AVAILABLE
static inline int _deprecated_ alloc_re(void **x, unsigned int m, unsigned int n)
{
diff --git a/qsutil.h b/qsutil.h
@@ -1,10 +1,11 @@
#ifndef QSUTIL_H
#define QSUTIL_H
+#include "deprecated.h"
+
extern void log1();
extern void qslog2(char *, char *);
-#include "deprecated.h"
#ifdef DEPRECATED_FUNCTIONS_AVAILABLE
static inline void _deprecated_ log2(char *s1, char *s2)
{