]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
REORG: include: move the base files from common/ to haproxy/
authorWilly Tarreau <w@1wt.eu>
Wed, 27 May 2020 12:38:20 +0000 (14:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Jun 2020 08:18:56 +0000 (10:18 +0200)
The files currently covered by api-t.h and api.h (compat, compiler,
defaults, initcall) are now located inside haproxy/.

include/haproxy/api-t.h
include/haproxy/api.h
include/haproxy/compat.h [moved from include/common/compat.h with 97% similarity]
include/haproxy/compiler.h [moved from include/common/compiler.h with 97% similarity]
include/haproxy/defaults.h [moved from include/common/defaults.h with 98% similarity]
include/haproxy/initcall.h [moved from include/common/initcall.h with 98% similarity]

index 501f4ad544e3d366d512037718e3dca0dc36c4aa..e82f54b657a9a7a72dd8ff28973a232f0849e254 100644 (file)
@@ -32,8 +32,8 @@
 #include <inttypes.h>
 #include <stddef.h>
 
-#include <common/compat.h>
-#include <common/compiler.h>
-#include <common/defaults.h>
+#include <haproxy/compat.h>
+#include <haproxy/compiler.h>
+#include <haproxy/defaults.h>
 
 #endif /* _HAPROXY_TYPES_H */
index 66165b130fa242f9b4fc1118a9749b82524660f9..5a916ba44709e7a12182a69c68c6e7093de43c71 100644 (file)
@@ -30,7 +30,7 @@
 #ifndef _HAPROXY_BASE_H
 #define _HAPROXY_BASE_H
 
-#include <common/initcall.h>
+#include <haproxy/initcall.h>
 #include <haproxy/api-t.h>
 
 #endif
similarity index 97%
rename from include/common/compat.h
rename to include/haproxy/compat.h
index 34fbac5dbb30ebbb33d92ac3675e8ce4e8edbb1d..251dfb2020ebacff7ea12954cd6335fd9e53c0d8 100644 (file)
@@ -1,8 +1,8 @@
 /*
- * include/common/compat.h
+ * include/haproxy/compat.h
  * Operating system compatibility interface.
  *
- * Copyright (C) 2000-2010 Willy Tarreau - w@1wt.eu
+ * Copyright (C) 2000-2020 Willy Tarreau - w@1wt.eu
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -19,8 +19,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef _COMMON_COMPAT_H
-#define _COMMON_COMPAT_H
+#ifndef _HAPROXY_COMPAT_H
+#define _HAPROXY_COMPAT_H
 
 #include <limits.h>
 #include <signal.h>
@@ -235,7 +235,7 @@ typedef struct { } empty_t;
 #endif
 #endif
 
-#endif /* _COMMON_COMPAT_H */
+#endif /* _HAPROXY_COMPAT_H */
 
 /*
  * Local variables:
similarity index 97%
rename from include/common/compiler.h
rename to include/haproxy/compiler.h
index 5578a58bc50084b2f5a5594bd9bb62650b6664c4..a0d4569856c7367616fe2e6e859522a260b31e21 100644 (file)
@@ -1,8 +1,8 @@
 /*
- * include/common/compiler.h
+ * include/haproxy/compiler.h
  * This files contains some compiler-specific settings.
  *
- * Copyright (C) 2000-2009 Willy Tarreau - w@1wt.eu
+ * Copyright (C) 2000-2020 Willy Tarreau - w@1wt.eu
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -19,8 +19,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef _COMMON_COMPILER_H
-#define _COMMON_COMPILER_H
+#ifndef _HAPROXY_COMPILER_H
+#define _HAPROXY_COMPILER_H
 
 
 /*
 #endif
 #endif
 
-#endif /* _COMMON_COMPILER_H */
+#endif /* _HAPROXY_COMPILER_H */
similarity index 98%
rename from include/common/defaults.h
rename to include/haproxy/defaults.h
index aeddb0108e86f241787c9047e4b1a4c037d502fc..165c78b8e51027ba97d8a7aa328de245e4c14c68 100644 (file)
@@ -1,8 +1,8 @@
 /*
- * include/common/defaults.h
+ * include/haproxy/defaults.h
  * Miscellaneous default values.
  *
- * Copyright (C) 2000-2010 Willy Tarreau - w@1wt.eu
+ * Copyright (C) 2000-2020 Willy Tarreau - w@1wt.eu
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -19,8 +19,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef _COMMON_DEFAULTS_H
-#define _COMMON_DEFAULTS_H
+#ifndef _HAPROXY_DEFAULTS_H
+#define _HAPROXY_DEFAULTS_H
 
 /* MAX_PROCS defines the highest limit for the global "nbproc" value. It
  * defaults to the number of bits in a long integer but may be lowered to save
 #define DEFAULT_PAT_LRU_SIZE 10000
 #endif
 
-#endif /* _COMMON_DEFAULTS_H */
+#endif /* _HAPROXY_DEFAULTS_H */
similarity index 98%
rename from include/common/initcall.h
rename to include/haproxy/initcall.h
index 6da752ce60f2aa813128f63c2d1d3f7f89586e59..eb7369b93be8913006682d5730d40d2f4e19031b 100644 (file)
@@ -1,9 +1,9 @@
 /*
- * include/common/initcall.h
+ * include/haproxy/initcall.h
  *
  * Initcall management.
  *
- * Copyright (C) 2018 Willy Tarreau - w@1wt.eu
+ * Copyright (C) 2018-2020 Willy Tarreau - w@1wt.eu
  *
  * Permission is hereby granted, free of charge, to any person obtaining
  * a copy of this software and associated documentation files (the
@@ -26,8 +26,8 @@
  * OTHER DEALINGS IN THE SOFTWARE.
  */
 
-#ifndef _COMMON_INIT_H
-#define _COMMON_INIT_H
+#ifndef _HAPROXY_INITCALL_H
+#define _HAPROXY_INITCALL_H
 
 /* List of known init stages. If others are added, please declare their
  * section at the end of the file below.
@@ -258,7 +258,7 @@ extern struct initcall *__initstg[STG_SIZE];
 
 #endif // USE_OBSOLETE_LINKER
 
-#endif /* _COMMON_INIT_H */
+#endif /* _HAPROXY_INITCALL_H */
 
 /*
  * Local variables: