diff mbox series

[2/5] xfsprogs: remove the SIZEOF_CHAR_P substitution in platform_defs.h.in

Message ID 20200126113541.787884-3-hch@lst.de (mailing list archive)
State Superseded
Headers show
Series [1/5] xfsprogs: remove the ENABLE_GETTEXT substitution in platform_defs.h.in | expand

Commit Message

Christoph Hellwig Jan. 26, 2020, 11:35 a.m. UTC
SIZEOF_CHAR_P is not used anywhere in the code, so remove the reference
to it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 include/platform_defs.h.in | 1 -
 1 file changed, 1 deletion(-)

Comments

Darrick J. Wong Jan. 26, 2020, 10:13 p.m. UTC | #1
On Sun, Jan 26, 2020 at 12:35:38PM +0100, Christoph Hellwig wrote:
> SIZEOF_CHAR_P is not used anywhere in the code, so remove the reference
> to it.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Woo.
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>

--D

> ---
>  include/platform_defs.h.in | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/include/platform_defs.h.in b/include/platform_defs.h.in
> index 6cc56e31..ff0a6a4e 100644
> --- a/include/platform_defs.h.in
> +++ b/include/platform_defs.h.in
> @@ -28,7 +28,6 @@ typedef struct filldir		filldir_t;
>  
>  /* long and pointer must be either 32 bit or 64 bit */
>  #undef SIZEOF_LONG
> -#undef SIZEOF_CHAR_P
>  #define BITS_PER_LONG (SIZEOF_LONG * CHAR_BIT)
>  
>  /* Check whether to define umode_t ourselves. */
> -- 
> 2.24.1
>
diff mbox series

Patch

diff --git a/include/platform_defs.h.in b/include/platform_defs.h.in
index 6cc56e31..ff0a6a4e 100644
--- a/include/platform_defs.h.in
+++ b/include/platform_defs.h.in
@@ -28,7 +28,6 @@  typedef struct filldir		filldir_t;
 
 /* long and pointer must be either 32 bit or 64 bit */
 #undef SIZEOF_LONG
-#undef SIZEOF_CHAR_P
 #define BITS_PER_LONG (SIZEOF_LONG * CHAR_BIT)
 
 /* Check whether to define umode_t ourselves. */