Removing include/minix/limits.h

This files defines two constants which are only used through
sys/syslimits. So they where moved there instead of including the file
and it was removed.

Change-Id: Iba3d220144dddf5d6411a6c66e2f223a1aafb50f
This commit is contained in:
Lionel Sambuc 2013-04-08 16:54:49 +02:00
parent 78cbcc9750
commit dd6b239665
4 changed files with 7 additions and 15 deletions

View file

@ -638,7 +638,7 @@
./usr/include/minix/ipc.h minix-sys
./usr/include/minix/keymap.h minix-sys
./usr/include/minix/libminixfs.h minix-sys
./usr/include/minix/limits.h minix-sys
./usr/include/minix/limits.h minix-sys obsolete
./usr/include/minix/log.h minix-sys
./usr/include/minix minix-sys
./usr/include/minix/minlib.h minix-sys

View file

@ -12,7 +12,7 @@ INCS+= acpi.h audio_fw.h bitmap.h \
driver.h drivers.h drvlib.h ds.h \
endpoint.h fb.h fslib.h gpio.h gcov.h hash.h \
hgfs.h ioctl.h input.h ipc.h ipcconst.h \
keymap.h limits.h log.h mmio.h mount.h mthread.h minlib.h \
keymap.h log.h mmio.h mount.h mthread.h minlib.h \
netdriver.h optset.h padconf.h partition.h portio.h \
priv.h procfs.h profile.h queryparam.h \
reboot.h rs.h safecopies.h sched.h sef.h sffs.h \

View file

@ -1,12 +0,0 @@
/* The <minix/limits.h> header defines the Minix values for some MINIX
* constants. Both the MINIX constants and the non-posix constants
* refer to these underlying definitions.
*/
#ifndef _MINIX_LIMITS_H
#define _MINIX_LIMITS_H
#define __MINIX_OPEN_MAX 255 /* a process may have 255 files open */
#define __MINIX_PATH_MAX 1024/* a pathname may contain 1023 chars (+ '\0')*/
#endif /* _MINIX_LIMITS_H */

View file

@ -34,7 +34,11 @@
#ifndef _SYS_SYSLIMITS_H_
#define _SYS_SYSLIMITS_H_
#include <minix/limits.h>
#if defined(__minix)
#define __MINIX_OPEN_MAX 255 /* a process may have 255 files open */
#define __MINIX_PATH_MAX 1024/* a pathname may contain 1023 chars (+ '\0')*/
#endif /* defined(__minix) */
#include <sys/featuretest.h>
#if defined(_POSIX_C_SOURCE) || defined(_XOPEN_SOURCE) || \