mirror of
https://github.com/AuxXxilium/kmod.git
synced 2024-11-23 23:10:53 +07:00
Move array implementation to shared directory
This commit is contained in:
parent
8eded79c50
commit
74d1df6682
@ -45,13 +45,13 @@ LIBKMOD_AGE=2
|
||||
noinst_LTLIBRARIES = libkmod/libkmod-util.la
|
||||
libkmod_libkmod_util_la_SOURCES = \
|
||||
shared/macro.h \
|
||||
shared/missing.h\
|
||||
shared/missing.h \
|
||||
shared/array.c \
|
||||
shared/array.h \
|
||||
shared/util.c \
|
||||
shared/util.h \
|
||||
libkmod/libkmod-hash.c \
|
||||
libkmod/libkmod-hash.h \
|
||||
libkmod/libkmod-array.c \
|
||||
libkmod/libkmod-array.h \
|
||||
libkmod/libkmod-util.c \
|
||||
libkmod/libkmod-util.h
|
||||
|
||||
|
@ -22,7 +22,6 @@ CFILE_GLOB = $(top_srcdir)/libkmod/libkmod.c $(top_srcdir)/libkmod/libkmod-modul
|
||||
|
||||
IGNORE_HFILES = libkmod-internal.h \
|
||||
libkmod-util.h \
|
||||
libkmod-array.h \
|
||||
libkmod-hash.h \
|
||||
libkmod-index.h
|
||||
|
||||
|
@ -18,8 +18,9 @@
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <shared/array.h>
|
||||
|
||||
#include "libkmod.h"
|
||||
#include "libkmod-array.h"
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
/*
|
||||
* Declaration of struct array is in header because we may want to embed the
|
||||
* structure into another, so we need to know its size
|
@ -17,10 +17,10 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "libkmod.h"
|
||||
#include "libkmod-array.h"
|
||||
#include "libkmod-hash.h"
|
||||
#include "libkmod-util.h"
|
||||
|
||||
#include <shared/array.h>
|
||||
#include <shared/macro.h>
|
||||
#include <shared/util.h>
|
||||
|
||||
|
@ -32,7 +32,8 @@
|
||||
#include <limits.h>
|
||||
|
||||
#include "libkmod.h"
|
||||
#include "libkmod-array.h"
|
||||
|
||||
#include <shared/array.h>
|
||||
#include <shared/macro.h>
|
||||
|
||||
#include "kmod.h"
|
||||
|
Loading…
Reference in New Issue
Block a user