From e5dc681a50a41d42c18b52abc8d5a3c2a357bdaa Mon Sep 17 00:00:00 2001 From: "Ricardo M. Correia" Date: Thu, 26 Aug 2010 09:52:40 -0700 Subject: Fix gcc ident pragma warnings Remove all ident pragmas which are unknown to gcc. Signed-off-by: Brian Behlendorf --- lib/libefi/include/sys/efi_partition.h | 4 ++++ lib/libefi/include/sys/uuid.h | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/libefi') diff --git a/lib/libefi/include/sys/efi_partition.h b/lib/libefi/include/sys/efi_partition.h index 4ffa42211..ff38df5e7 100644 --- a/lib/libefi/include/sys/efi_partition.h +++ b/lib/libefi/include/sys/efi_partition.h @@ -218,7 +218,11 @@ struct partition64 { /* * Number of EFI partitions */ +#if defined(__linux__) +#define EFI_NUMPAR 128 /* Expected by parted-1.8.1 */ +#else #define EFI_NUMPAR 9 +#endif #ifndef _KERNEL extern int efi_alloc_and_init(int, uint32_t, struct dk_gpt **); diff --git a/lib/libefi/include/sys/uuid.h b/lib/libefi/include/sys/uuid.h index 683643e31..9ce872e34 100644 --- a/lib/libefi/include/sys/uuid.h +++ b/lib/libefi/include/sys/uuid.h @@ -27,8 +27,6 @@ #ifndef _SYS_UUID_H #define _SYS_UUID_H -#pragma ident "%Z%%M% %I% %E% SMI" - #ifdef __cplusplus extern "C" { #endif -- cgit v1.2.3