aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libefi
diff options
context:
space:
mode:
authorRicardo M. Correia <[email protected]>2010-08-26 09:52:40 -0700
committerBrian Behlendorf <[email protected]>2010-08-27 15:34:02 -0700
commite5dc681a50a41d42c18b52abc8d5a3c2a357bdaa (patch)
tree3abb02b6647418ec801fa830fad409d41a41cdc8 /lib/libefi
parent0e5b68e0159e071dae2cac01c2b6783b8e926133 (diff)
Fix gcc ident pragma warnings
Remove all ident pragmas which are unknown to gcc. Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'lib/libefi')
-rw-r--r--lib/libefi/include/sys/efi_partition.h4
-rw-r--r--lib/libefi/include/sys/uuid.h2
2 files changed, 4 insertions, 2 deletions
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