diff options
author | tjr <tjr@FreeBSD.org> | 2003-01-04 01:11:49 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2003-01-04 01:11:49 +0000 |
commit | 550b215d09000da78048f10f0f87576b1e6c18e4 (patch) | |
tree | 6ca57ca1e07fd281e0ffdca339dc1576317eaa8b /include/ulimit.h | |
parent | 81ba2af45b09180cc2da011a068202da70b60b34 (diff) | |
download | FreeBSD-src-550b215d09000da78048f10f0f87576b1e6c18e4.zip FreeBSD-src-550b215d09000da78048f10f0f87576b1e6c18e4.tar.gz |
Rename UL_GETSIZE to UL_GETFSIZE and UL_SETSIZE to UL_SETFSIZE; these are
the names required by 1003.1-2001. The old names are retained for
source compatibility with FreeBSD 5.0 and will be removed before 6.0.
Diffstat (limited to 'include/ulimit.h')
-rw-r--r-- | include/ulimit.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/include/ulimit.h b/include/ulimit.h index 049d382..0828fc6 100644 --- a/include/ulimit.h +++ b/include/ulimit.h @@ -31,8 +31,17 @@ #include <sys/cdefs.h> -#define UL_GETSIZE 1 -#define UL_SETSIZE 2 +#define UL_GETFSIZE 1 +#define UL_SETFSIZE 2 + +#if __BSD_VISIBLE +/* + * The "F" was mistakenly omitted from the macro names in FreeBSD 5.0. + * Do not use these names; they will be removed before 6.0. + */ +#define UL_GETSIZE UL_GETFSIZE +#define UL_SETSIZE UL_SETFSIZE +#endif __BEGIN_DECLS long ulimit(int, ...); |