diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-02-08 01:12:11 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-02-08 01:12:11 +0000 |
commit | f3aae3f3eb4e4345413dc238e941cdb52f747d16 (patch) | |
tree | d1613e7ec39b9d5b7c9b53a286fc653093721594 /sysdeps/generic | |
parent | b2c9eff43c49d528c7ad3d0d91d03ccf0ae5ae0f (diff) | |
download | glibc-f3aae3f3eb4e4345413dc238e941cdb52f747d16.zip glibc-f3aae3f3eb4e4345413dc238e941cdb52f747d16.tar.gz glibc-f3aae3f3eb4e4345413dc238e941cdb52f747d16.tar.bz2 |
Remove CHECK_1 and CHECK_1_NULL_OK.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/bp-checks.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sysdeps/generic/bp-checks.h b/sysdeps/generic/bp-checks.h index 618497c..162f785 100644 --- a/sysdeps/generic/bp-checks.h +++ b/sysdeps/generic/bp-checks.h @@ -36,18 +36,11 @@ /* Same as CHECK_N, but tolerate ARG == NULL. */ # define CHECK_N_NULL_OK(ARG, N) _CHECK_N ((ARG), (N), __ptrvalue (ARG)) -/* Check bounds of a pointer seated to a single object. */ -# define CHECK_1(ARG) CHECK_N ((ARG), 1) -/* Same as CHECK_1, but tolerate ARG == NULL. */ -# define CHECK_1_NULL_OK(ARG) CHECK_N_NULL_OK ((ARG), 1) - #else /* !__BOUNDED_POINTERS__ */ /* Do nothing if not compiling with -fbounded-pointers. */ # define BOUNDS_VIOLATED -# define CHECK_1(ARG) (ARG) -# define CHECK_1_NULL_OK(ARG) (ARG) # define CHECK_N(ARG, N) (ARG) # define CHECK_N_NULL_OK(ARG, N) (ARG) |