mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +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:
committed by
Brian Behlendorf
parent
0e5b68e015
commit
e5dc681a50
@@ -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 **);
|
||||
|
||||
@@ -27,8 +27,6 @@
|
||||
#ifndef _SYS_UUID_H
|
||||
#define _SYS_UUID_H
|
||||
|
||||
#pragma ident "%Z%%M% %I% %E% SMI"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#pragma ident "%Z%%M% %I% %E% SMI"
|
||||
|
||||
|
||||
#include "libuutil_common.h"
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#pragma ident "%Z%%M% %I% %E% SMI"
|
||||
|
||||
|
||||
#include "libuutil_common.h"
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#pragma ident "%Z%%M% %I% %E% SMI"
|
||||
|
||||
|
||||
#include "libuutil_common.h"
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#pragma ident "%Z%%M% %I% %E% SMI"
|
||||
|
||||
|
||||
#include "libuutil_common.h"
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#pragma ident "%Z%%M% %I% %E% SMI"
|
||||
|
||||
|
||||
#include "libuutil_common.h"
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#pragma ident "%Z%%M% %I% %E% SMI"
|
||||
|
||||
|
||||
#include "libuutil_common.h"
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* Use is subject to license terms.
|
||||
*/
|
||||
|
||||
#pragma ident "%Z%%M% %I% %E% SMI"
|
||||
|
||||
|
||||
#include "libuutil_common.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user