diff options
author | marcus <marcus> | 2003-08-16 21:11:00 +0000 |
---|---|---|
committer | marcus <marcus> | 2003-08-16 21:11:00 +0000 |
commit | 355ca868e6fb1072f617d86f84736c7982492866 (patch) | |
tree | 93a15ea4e288e9135850530c969a76a3cde2d472 /libhurd-slab | |
parent | 5cb6cefdf1fe5b3fbe622a131f676562021d8927 (diff) |
Integrate libhurd-slap, fix a couple of bugs.
Diffstat (limited to 'libhurd-slab')
-rw-r--r-- | libhurd-slab/Makefile.am | 28 | ||||
-rw-r--r-- | libhurd-slab/headers.m4 | 2 | ||||
-rw-r--r-- | libhurd-slab/slab.c | 1 | ||||
-rw-r--r-- | libhurd-slab/slab.h | 2 |
4 files changed, 31 insertions, 2 deletions
diff --git a/libhurd-slab/Makefile.am b/libhurd-slab/Makefile.am new file mode 100644 index 0000000..f7dde25 --- /dev/null +++ b/libhurd-slab/Makefile.am @@ -0,0 +1,28 @@ +# Makefile.am - Makefile template for libhurd-slab. +# Copyright (C) 2003 Free Software Foundation, Inc. +# Written by Marcus Brinkmann. +# +# This file is part of the GNU Hurd. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free +# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + +lib_LIBRARIES = libhurd-slab.a + +includehurddir = $(includedir)/hurd +includehurd_HEADERS = slab.h + +AM_CPPFLAGS = -I$(top_srcdir)/include +libhurd_slab_a_SOURCES = slab.h slab.c diff --git a/libhurd-slab/headers.m4 b/libhurd-slab/headers.m4 new file mode 100644 index 0000000..cf4c08b --- /dev/null +++ b/libhurd-slab/headers.m4 @@ -0,0 +1,2 @@ +hurd_SYSDEPS([libhurd-slab], + [slab.h:hurd/slab.h]) diff --git a/libhurd-slab/slab.c b/libhurd-slab/slab.c index 4bfebf3..274ec37 100644 --- a/libhurd-slab/slab.c +++ b/libhurd-slab/slab.c @@ -20,7 +20,6 @@ #include <stdlib.h> #include <errno.h> -#include <error.h> #include <hurd/slab.h> diff --git a/libhurd-slab/slab.h b/libhurd-slab/slab.h index b9424d9..2a481e5 100644 --- a/libhurd-slab/slab.h +++ b/libhurd-slab/slab.h @@ -21,7 +21,7 @@ #ifndef _HURD_SLAB_H #define _HURD_SLAB_H 1 -#include <error.h> +#include <errno.h> /* Initialize the slab object pointed to by BUFFER. */ |