]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Fix gcc ident pragma warnings
authorRicardo M. Correia <Ricardo.M.Correia@Sun.COM>
Thu, 26 Aug 2010 16:52:40 +0000 (09:52 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 27 Aug 2010 22:34:02 +0000 (15:34 -0700)
Remove all ident pragmas which are unknown to gcc.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
26 files changed:
cmd/zpool/zpool_iter.c
lib/libefi/include/sys/efi_partition.h
lib/libefi/include/sys/uuid.h
lib/libnvpair/nvpair_alloc_system.c
lib/libuutil/include/libuutil_common.h
lib/libuutil/include/libuutil_impl.h
lib/libuutil/uu_avl.c
lib/libuutil/uu_dprintf.c
lib/libuutil/uu_ident.c
lib/libuutil/uu_list.c
lib/libuutil/uu_open.c
lib/libuutil/uu_pname.c
lib/libuutil/uu_strtoint.c
module/avl/include/sys/avl_impl.h
module/nvpair/include/sys/nvpair_impl.h
module/nvpair/nvpair_alloc_fixed.c
module/unicode/include/sys/u8_textprep.h
module/unicode/include/sys/u8_textprep_data.h
module/unicode/u8_textprep.c
module/unicode/uconv.c
module/zfs/gzip.c
module/zfs/include/sys/rrwlock.h
module/zfs/include/sys/unique.h
module/zfs/include/sys/vdev_file.h
module/zfs/include/sys/zfs_rlock.h
module/zfs/unique.c

index 2f0daefd5572da032b00d99791f63f896cf5c2d4..bf947d307e3d3d6e1d8f809735429c7ffd85ba5d 100644 (file)
@@ -23,7 +23,7 @@
  * Use is subject to license terms.
  */
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include <libintl.h>
 #include <libuutil.h>
index 4ffa422118d121a3584c26c0ae85f29857a290bd..ff38df5e79ebfd9784fc1b26423b5db65e098131 100644 (file)
@@ -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 **);
index 683643e312355ce620c8a7b4881c4a873a59dced..9ce872e345f7ed5965bfff79c2ba0cbd6d1698b9 100644 (file)
@@ -27,8 +27,6 @@
 #ifndef        _SYS_UUID_H
 #define        _SYS_UUID_H
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index e7655779590b46cfcaaa2307bbc097a485b993a8..f45dc5f0b9be2b7ec9c8ed38bb13cf8801764736 100644 (file)
@@ -24,7 +24,7 @@
  * Use is subject to license terms.
  */
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include <rpc/types.h>
 #include <sys/nvpair.h>
index 9ebaaedfd237993b29143b028d31b28182df750b..52ac4887f75c4fef0616d164fb15986f0f3969b0 100644 (file)
@@ -27,7 +27,7 @@
 #ifndef        _LIBUUTIL_COMMON_H
 #define        _LIBUUTIL_COMMON_H
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include <libuutil.h>
 #include <libuutil_impl.h>
index 9466e59745819afa65e32eed686ba3662f340520..f978b475eff84eac878e868322b0784605cb4b6f 100644 (file)
@@ -27,7 +27,7 @@
 #ifndef        _LIBUUTIL_IMPL_H
 #define        _LIBUUTIL_IMPL_H
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include <libuutil.h>
 #include <pthread.h>
@@ -40,11 +40,11 @@ extern "C" {
 #endif
 
 void uu_set_error(uint_t);
-#pragma rarely_called(uu_set_error)
+
 
 /*PRINTFLIKE1*/
 void uu_panic(const char *format, ...);
-#pragma rarely_called(uu_panic)
+
 
 struct uu_dprintf {
        char    *uud_name;
index 308e9208fea46d56d61e539ac50725651749f55a..040008883aec9cad09a0152a7ec9961f3e335b3a 100644 (file)
@@ -23,7 +23,7 @@
  * Use is subject to license terms.
  */
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include "libuutil_common.h"
 
index 5b990a52b561e4d37effc1c4fc5cf8dea8054b85..5d5fb84a836fcef829d9074934100b5a5d4611ef 100644 (file)
@@ -24,7 +24,7 @@
  * Use is subject to license terms.
  */
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include "libuutil_common.h"
 
index 9a643845f8c2b44dc4a6827fc43421ca71b55e73..382139316ebc1dcf8b91f2ab7c28dd3ca5a201c5 100644 (file)
@@ -24,7 +24,7 @@
  * Use is subject to license terms.
  */
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include "libuutil_common.h"
 
index 35c7ba80010307b0128f58b3a894a3a5d1c8d007..c3a447d01de3157e35aa67e345cef36b8d27dc87 100644 (file)
@@ -23,7 +23,7 @@
  * Use is subject to license terms.
  */
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include "libuutil_common.h"
 
index 7256662e38f6dfd39c1c4e841bf5327fc12ce843..cf5c5450b8200e1dce67e416b9991178c0380333 100644 (file)
@@ -24,7 +24,7 @@
  * Use is subject to license terms.
  */
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include "libuutil_common.h"
 
index 3307a26dc40dff103cfa8248287b7a69ff3d8db8..a6a0f22661e5bc22db4cb8cc11564e4ad99e7170 100644 (file)
@@ -24,7 +24,7 @@
  * Use is subject to license terms.
  */
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include "libuutil_common.h"
 
index 8fd1148365cb3e62dca3c892c21123322939a83f..494e0a5b935c36d4c078ebd299575d49427a9b0c 100644 (file)
@@ -24,7 +24,7 @@
  * Use is subject to license terms.
  */
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include "libuutil_common.h"
 
index 620685f370d43fd8a0d69880b00af8b97a536fea..fddf76906deebae0abc4c1e0bd067d0d4e0dd8ca 100644 (file)
@@ -27,7 +27,7 @@
 #ifndef        _AVL_IMPL_H
 #define        _AVL_IMPL_H
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 /*
  * This is a private header file.  Applications should not directly include
index f12dbbfe6ef5490e6ad70f8157d40c9db06d1cf9..b851ddd54fe674a4e989334f07efa825063f5337 100644 (file)
@@ -27,7 +27,7 @@
 #ifndef        _NVPAIR_IMPL_H
 #define        _NVPAIR_IMPL_H
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #ifdef __cplusplus
 extern "C" {
index b1128eeb9bc353d2882e8947cadc37133e397a1f..33e3c0d00705ee432e8f95f005d8552185c95126 100644 (file)
@@ -24,7 +24,7 @@
  * Use is subject to license terms.
  */
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include <sys/stropts.h>
 #include <sys/isa_defs.h>
index e30f064b2d99e29c9e285f3814cdd54ec1be949f..f8b5bed6e420a32da5aca9ed75c09509f635b8a3 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef        _SYS_U8_TEXTPREP_H
 #define        _SYS_U8_TEXTPREP_H
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include <sys/isa_defs.h>
 #include <sys/types.h>
index de6866096160e7c4a7bc96a4ef550cc3ee180c99..03f71f26c9e1bfdfd58c0c8754637de783a347db 100644 (file)
@@ -68,7 +68,7 @@
 #ifndef _SYS_U8_TEXTPREP_DATA_H
 #define        _SYS_U8_TEXTPREP_DATA_H
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include <sys/types.h>
 
index 8faf1a97e47eb03e087f6c5c47f570e42949b43d..34b0b9a8b954cb6ba3de4737d5d92a7d4319b2a9 100644 (file)
@@ -23,7 +23,7 @@
  * Use is subject to license terms.
  */
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 
 /*
index fd65fc99b57618a718e647941a11df567c945688..b996e1f60e09529449bb6a873ac505feac06a2d6 100644 (file)
@@ -23,7 +23,7 @@
  * Use is subject to license terms.
  */
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 /*
  * Unicode encoding conversion functions among UTF-8, UTF-16, and UTF-32.
index b257d4af753cc861bc3ffefd8f759503bb71242e..aa0254806aa19acbf9e5a5207d45f3bc875c639e 100644 (file)
@@ -24,7 +24,7 @@
  * Use is subject to license terms.
  */
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include <sys/debug.h>
 #include <sys/types.h>
index 19a43c97fc3c25c0e68fad597745ab54bac57979..798a015d19e23442b80b954025c8d29b9c6e7cd1 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef        _SYS_RR_RW_LOCK_H
 #define        _SYS_RR_RW_LOCK_H
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #ifdef __cplusplus
 extern "C" {
index 2ef3093edf1ce3c55aba65d33c3fb9151a6b0a69..d971752867b92b16ee25041bd1b237b57f1b8c9b 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef        _SYS_UNIQUE_H
 #define        _SYS_UNIQUE_H
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include <sys/zfs_context.h>
 
index cd496735778caf3a5931cce9d9d64ce8f44374ab..b4d40f9df29fe2e969699b15cb5d90b938da49b4 100644 (file)
@@ -27,7 +27,7 @@
 #ifndef _SYS_VDEV_FILE_H
 #define        _SYS_VDEV_FILE_H
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include <sys/vdev.h>
 
index f302b663e22a500214a6d364183f95e6f27a6c16..722c341e23eda66f65b53412f2d43291938030cf 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef        _SYS_FS_ZFS_RLOCK_H
 #define        _SYS_FS_ZFS_RLOCK_H
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #ifdef __cplusplus
 extern "C" {
index fbe7b619a29a525202852a5e0fe57e6ee9dd6cd2..8c1d2e2f985643c2f8fcfe76dd9f8592c90e6e2a 100644 (file)
@@ -23,7 +23,7 @@
  * Use is subject to license terms.
  */
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include <sys/zfs_context.h>
 #include <sys/avl.h>