From f3aae3f3eb4e4345413dc238e941cdb52f747d16 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 8 Feb 2013 01:12:11 +0000 Subject: Remove CHECK_1 and CHECK_1_NULL_OK. --- sysdeps/generic/bp-checks.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'sysdeps/generic') diff --git a/sysdeps/generic/bp-checks.h b/sysdeps/generic/bp-checks.h index 618497cba1..162f785187 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) -- cgit 1.4.1