From aece7201bbf36a48f4790918025d9b1ae17cf3c8 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Mon, 1 Apr 2013 20:01:26 +0200 Subject: [PATCH] Moved data.h from utils to core. This should also be considered a core component ;-) --- src/Makefile.am | 2 +- src/include/{utils => core}/data.h | 8 ++++---- src/include/utils/dbi.h | 2 +- src/include/utils/unixsock.h | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) rename src/include/{utils => core}/data.h (95%) diff --git a/src/Makefile.am b/src/Makefile.am index 38154a8..35ac77d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -22,7 +22,7 @@ libsysdb_la_SOURCES = \ core/object.c include/core/object.h \ core/plugin.c include/core/plugin.h \ core/store.c include/core/store.h \ - include/utils/data.h \ + include/core/data.h \ core/error.c include/core/error.h \ utils/llist.c include/utils/llist.h \ utils/strbuf.c include/utils/strbuf.h \ diff --git a/src/include/utils/data.h b/src/include/core/data.h similarity index 95% rename from src/include/utils/data.h rename to src/include/core/data.h index fc6afca..4a4dd2d 100644 --- a/src/include/utils/data.h +++ b/src/include/core/data.h @@ -1,5 +1,5 @@ /* - * SysDB - src/include/utils/data.h + * SysDB - src/include/core/data.h * Copyright (C) 2012 Sebastian 'tokkee' Harl * All rights reserved. * @@ -25,8 +25,8 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef SDB_UTILS_DATA_H -#define SDB_UTILS_DATA_H 1 +#ifndef SDB_CORE_DATA_H +#define SDB_CORE_DATA_H 1 #include "core/time.h" @@ -71,7 +71,7 @@ typedef struct { } /* extern "C" */ #endif -#endif /* ! SDB_UTILS_DATA_H */ +#endif /* ! SDB_CORE_DATA_H */ /* vim: set tw=78 sw=4 ts=4 noexpandtab : */ diff --git a/src/include/utils/dbi.h b/src/include/utils/dbi.h index c249041..9d5cfc0 100644 --- a/src/include/utils/dbi.h +++ b/src/include/utils/dbi.h @@ -29,7 +29,7 @@ #define SDB_UTILS_DBI_H 1 #include "core/object.h" -#include "utils/data.h" +#include "core/data.h" #include diff --git a/src/include/utils/unixsock.h b/src/include/utils/unixsock.h index 3a38aca..b6f5c46 100644 --- a/src/include/utils/unixsock.h +++ b/src/include/utils/unixsock.h @@ -29,7 +29,7 @@ #define SDB_UTILS_UNIXSOCK_H 1 #include "core/object.h" -#include "utils/data.h" +#include "core/data.h" #include -- 2.30.2