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 2f0daef..bf947d3 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 4ffa422..ff38df5 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 683643e..9ce872e 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 e765577..f45dc5f 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 9ebaaed..52ac488 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 9466e59..f978b47 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 308e920..0400088 100644 (file)
@@ -23,7 +23,7 @@
  * Use is subject to license terms.
  */
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include "libuutil_common.h"
 
index 5b990a5..5d5fb84 100644 (file)
@@ -24,7 +24,7 @@
  * Use is subject to license terms.
  */
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include "libuutil_common.h"
 
index 9a64384..3821393 100644 (file)
@@ -24,7 +24,7 @@
  * Use is subject to license terms.
  */
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include "libuutil_common.h"
 
index 35c7ba8..c3a447d 100644 (file)
@@ -23,7 +23,7 @@
  * Use is subject to license terms.
  */
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include "libuutil_common.h"
 
index 7256662..cf5c545 100644 (file)
@@ -24,7 +24,7 @@
  * Use is subject to license terms.
  */
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include "libuutil_common.h"
 
index 3307a26..a6a0f22 100644 (file)
@@ -24,7 +24,7 @@
  * Use is subject to license terms.
  */
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include "libuutil_common.h"
 
index 8fd1148..494e0a5 100644 (file)
@@ -24,7 +24,7 @@
  * Use is subject to license terms.
  */
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 #include "libuutil_common.h"
 
index 620685f..fddf769 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 f12dbbf..b851ddd 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 b1128ee..33e3c0d 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 e30f064..f8b5bed 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 de68660..03f71f2 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 8faf1a9..34b0b9a 100644 (file)
@@ -23,7 +23,7 @@
  * Use is subject to license terms.
  */
 
-#pragma ident  "%Z%%M% %I%     %E% SMI"
+
 
 
 /*
index fd65fc9..b996e1f 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 b257d4a..aa02548 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 19a43c9..798a015 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 2ef3093..d971752 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 cd49673..b4d40f9 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 f302b66..722c341 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 fbe7b61..8c1d2e2 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>