mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	Fix gcc ident pragma warnings
Remove all ident pragmas which are unknown to gcc. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
		
							parent
							
								
									0e5b68e015
								
							
						
					
					
						commit
						e5dc681a50
					
				| @ -23,7 +23,7 @@ | |||||||
|  * Use is subject to license terms. |  * Use is subject to license terms. | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #pragma ident	"%Z%%M%	%I%	%E% SMI" | 
 | ||||||
| 
 | 
 | ||||||
| #include <libintl.h> | #include <libintl.h> | ||||||
| #include <libuutil.h> | #include <libuutil.h> | ||||||
|  | |||||||
| @ -218,7 +218,11 @@ struct partition64 { | |||||||
| /*
 | /*
 | ||||||
|  * Number of EFI partitions |  * Number of EFI partitions | ||||||
|  */ |  */ | ||||||
|  | #if defined(__linux__) | ||||||
|  | #define	EFI_NUMPAR	128 /* Expected by parted-1.8.1 */ | ||||||
|  | #else | ||||||
| #define	EFI_NUMPAR	9 | #define	EFI_NUMPAR	9 | ||||||
|  | #endif | ||||||
| 
 | 
 | ||||||
| #ifndef _KERNEL | #ifndef _KERNEL | ||||||
| extern	int	efi_alloc_and_init(int, uint32_t, struct dk_gpt **); | extern	int	efi_alloc_and_init(int, uint32_t, struct dk_gpt **); | ||||||
|  | |||||||
| @ -27,8 +27,6 @@ | |||||||
| #ifndef	_SYS_UUID_H | #ifndef	_SYS_UUID_H | ||||||
| #define	_SYS_UUID_H | #define	_SYS_UUID_H | ||||||
| 
 | 
 | ||||||
| #pragma ident	"%Z%%M%	%I%	%E% SMI" |  | ||||||
| 
 |  | ||||||
| #ifdef	__cplusplus | #ifdef	__cplusplus | ||||||
| extern "C" { | extern "C" { | ||||||
| #endif | #endif | ||||||
|  | |||||||
| @ -24,7 +24,7 @@ | |||||||
|  * Use is subject to license terms. |  * Use is subject to license terms. | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #pragma ident	"%Z%%M%	%I%	%E% SMI" | 
 | ||||||
| 
 | 
 | ||||||
| #include <rpc/types.h> | #include <rpc/types.h> | ||||||
| #include <sys/nvpair.h> | #include <sys/nvpair.h> | ||||||
|  | |||||||
| @ -27,7 +27,7 @@ | |||||||
| #ifndef	_LIBUUTIL_COMMON_H | #ifndef	_LIBUUTIL_COMMON_H | ||||||
| #define	_LIBUUTIL_COMMON_H | #define	_LIBUUTIL_COMMON_H | ||||||
| 
 | 
 | ||||||
| #pragma ident	"%Z%%M%	%I%	%E% SMI" | 
 | ||||||
| 
 | 
 | ||||||
| #include <libuutil.h> | #include <libuutil.h> | ||||||
| #include <libuutil_impl.h> | #include <libuutil_impl.h> | ||||||
|  | |||||||
| @ -27,7 +27,7 @@ | |||||||
| #ifndef	_LIBUUTIL_IMPL_H | #ifndef	_LIBUUTIL_IMPL_H | ||||||
| #define	_LIBUUTIL_IMPL_H | #define	_LIBUUTIL_IMPL_H | ||||||
| 
 | 
 | ||||||
| #pragma ident	"%Z%%M%	%I%	%E% SMI" | 
 | ||||||
| 
 | 
 | ||||||
| #include <libuutil.h> | #include <libuutil.h> | ||||||
| #include <pthread.h> | #include <pthread.h> | ||||||
| @ -40,11 +40,11 @@ extern "C" { | |||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| void uu_set_error(uint_t); | void uu_set_error(uint_t); | ||||||
| #pragma rarely_called(uu_set_error) | 
 | ||||||
| 
 | 
 | ||||||
| /*PRINTFLIKE1*/ | /*PRINTFLIKE1*/ | ||||||
| void uu_panic(const char *format, ...); | void uu_panic(const char *format, ...); | ||||||
| #pragma rarely_called(uu_panic) | 
 | ||||||
| 
 | 
 | ||||||
| struct uu_dprintf { | struct uu_dprintf { | ||||||
| 	char	*uud_name; | 	char	*uud_name; | ||||||
|  | |||||||
| @ -23,7 +23,7 @@ | |||||||
|  * Use is subject to license terms. |  * Use is subject to license terms. | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #pragma ident	"%Z%%M%	%I%	%E% SMI" | 
 | ||||||
| 
 | 
 | ||||||
| #include "libuutil_common.h" | #include "libuutil_common.h" | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -24,7 +24,7 @@ | |||||||
|  * Use is subject to license terms. |  * Use is subject to license terms. | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #pragma ident	"%Z%%M%	%I%	%E% SMI" | 
 | ||||||
| 
 | 
 | ||||||
| #include "libuutil_common.h" | #include "libuutil_common.h" | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -24,7 +24,7 @@ | |||||||
|  * Use is subject to license terms. |  * Use is subject to license terms. | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #pragma ident	"%Z%%M%	%I%	%E% SMI" | 
 | ||||||
| 
 | 
 | ||||||
| #include "libuutil_common.h" | #include "libuutil_common.h" | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -23,7 +23,7 @@ | |||||||
|  * Use is subject to license terms. |  * Use is subject to license terms. | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #pragma ident	"%Z%%M%	%I%	%E% SMI" | 
 | ||||||
| 
 | 
 | ||||||
| #include "libuutil_common.h" | #include "libuutil_common.h" | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -24,7 +24,7 @@ | |||||||
|  * Use is subject to license terms. |  * Use is subject to license terms. | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #pragma ident	"%Z%%M%	%I%	%E% SMI" | 
 | ||||||
| 
 | 
 | ||||||
| #include "libuutil_common.h" | #include "libuutil_common.h" | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -24,7 +24,7 @@ | |||||||
|  * Use is subject to license terms. |  * Use is subject to license terms. | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #pragma ident	"%Z%%M%	%I%	%E% SMI" | 
 | ||||||
| 
 | 
 | ||||||
| #include "libuutil_common.h" | #include "libuutil_common.h" | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -24,7 +24,7 @@ | |||||||
|  * Use is subject to license terms. |  * Use is subject to license terms. | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #pragma ident	"%Z%%M%	%I%	%E% SMI" | 
 | ||||||
| 
 | 
 | ||||||
| #include "libuutil_common.h" | #include "libuutil_common.h" | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -27,7 +27,7 @@ | |||||||
| #ifndef	_AVL_IMPL_H | #ifndef	_AVL_IMPL_H | ||||||
| #define	_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 |  * This is a private header file.  Applications should not directly include | ||||||
|  | |||||||
| @ -27,7 +27,7 @@ | |||||||
| #ifndef	_NVPAIR_IMPL_H | #ifndef	_NVPAIR_IMPL_H | ||||||
| #define	_NVPAIR_IMPL_H | #define	_NVPAIR_IMPL_H | ||||||
| 
 | 
 | ||||||
| #pragma ident	"%Z%%M%	%I%	%E% SMI" | 
 | ||||||
| 
 | 
 | ||||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||||
| extern "C" { | extern "C" { | ||||||
|  | |||||||
| @ -24,7 +24,7 @@ | |||||||
|  * Use is subject to license terms. |  * Use is subject to license terms. | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #pragma ident	"%Z%%M%	%I%	%E% SMI" | 
 | ||||||
| 
 | 
 | ||||||
| #include <sys/stropts.h> | #include <sys/stropts.h> | ||||||
| #include <sys/isa_defs.h> | #include <sys/isa_defs.h> | ||||||
|  | |||||||
| @ -26,7 +26,7 @@ | |||||||
| #ifndef	_SYS_U8_TEXTPREP_H | #ifndef	_SYS_U8_TEXTPREP_H | ||||||
| #define	_SYS_U8_TEXTPREP_H | #define	_SYS_U8_TEXTPREP_H | ||||||
| 
 | 
 | ||||||
| #pragma ident	"%Z%%M%	%I%	%E% SMI" | 
 | ||||||
| 
 | 
 | ||||||
| #include <sys/isa_defs.h> | #include <sys/isa_defs.h> | ||||||
| #include <sys/types.h> | #include <sys/types.h> | ||||||
|  | |||||||
| @ -68,7 +68,7 @@ | |||||||
| #ifndef _SYS_U8_TEXTPREP_DATA_H | #ifndef _SYS_U8_TEXTPREP_DATA_H | ||||||
| #define	_SYS_U8_TEXTPREP_DATA_H | #define	_SYS_U8_TEXTPREP_DATA_H | ||||||
| 
 | 
 | ||||||
| #pragma ident	"%Z%%M%	%I%	%E% SMI" | 
 | ||||||
| 
 | 
 | ||||||
| #include <sys/types.h> | #include <sys/types.h> | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -23,7 +23,7 @@ | |||||||
|  * Use is subject to license terms. |  * Use is subject to license terms. | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #pragma ident	"%Z%%M%	%I%	%E% SMI" | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| /*
 | /*
 | ||||||
|  | |||||||
| @ -23,7 +23,7 @@ | |||||||
|  * Use is subject to license terms. |  * 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. |  * Unicode encoding conversion functions among UTF-8, UTF-16, and UTF-32. | ||||||
|  | |||||||
| @ -24,7 +24,7 @@ | |||||||
|  * Use is subject to license terms. |  * Use is subject to license terms. | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #pragma ident	"%Z%%M%	%I%	%E% SMI" | 
 | ||||||
| 
 | 
 | ||||||
| #include <sys/debug.h> | #include <sys/debug.h> | ||||||
| #include <sys/types.h> | #include <sys/types.h> | ||||||
|  | |||||||
| @ -26,7 +26,7 @@ | |||||||
| #ifndef	_SYS_RR_RW_LOCK_H | #ifndef	_SYS_RR_RW_LOCK_H | ||||||
| #define	_SYS_RR_RW_LOCK_H | #define	_SYS_RR_RW_LOCK_H | ||||||
| 
 | 
 | ||||||
| #pragma ident	"%Z%%M%	%I%	%E% SMI" | 
 | ||||||
| 
 | 
 | ||||||
| #ifdef	__cplusplus | #ifdef	__cplusplus | ||||||
| extern "C" { | extern "C" { | ||||||
|  | |||||||
| @ -26,7 +26,7 @@ | |||||||
| #ifndef	_SYS_UNIQUE_H | #ifndef	_SYS_UNIQUE_H | ||||||
| #define	_SYS_UNIQUE_H | #define	_SYS_UNIQUE_H | ||||||
| 
 | 
 | ||||||
| #pragma ident	"%Z%%M%	%I%	%E% SMI" | 
 | ||||||
| 
 | 
 | ||||||
| #include <sys/zfs_context.h> | #include <sys/zfs_context.h> | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -27,7 +27,7 @@ | |||||||
| #ifndef _SYS_VDEV_FILE_H | #ifndef _SYS_VDEV_FILE_H | ||||||
| #define	_SYS_VDEV_FILE_H | #define	_SYS_VDEV_FILE_H | ||||||
| 
 | 
 | ||||||
| #pragma ident	"%Z%%M%	%I%	%E% SMI" | 
 | ||||||
| 
 | 
 | ||||||
| #include <sys/vdev.h> | #include <sys/vdev.h> | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -26,7 +26,7 @@ | |||||||
| #ifndef	_SYS_FS_ZFS_RLOCK_H | #ifndef	_SYS_FS_ZFS_RLOCK_H | ||||||
| #define	_SYS_FS_ZFS_RLOCK_H | #define	_SYS_FS_ZFS_RLOCK_H | ||||||
| 
 | 
 | ||||||
| #pragma ident	"%Z%%M%	%I%	%E% SMI" | 
 | ||||||
| 
 | 
 | ||||||
| #ifdef	__cplusplus | #ifdef	__cplusplus | ||||||
| extern "C" { | extern "C" { | ||||||
|  | |||||||
| @ -23,7 +23,7 @@ | |||||||
|  * Use is subject to license terms. |  * Use is subject to license terms. | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| #pragma ident	"%Z%%M%	%I%	%E% SMI" | 
 | ||||||
| 
 | 
 | ||||||
| #include <sys/zfs_context.h> | #include <sys/zfs_context.h> | ||||||
| #include <sys/avl.h> | #include <sys/avl.h> | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Ricardo M. Correia
						Ricardo M. Correia