Skip to content

Commit

Permalink
Remove pragma ident lines
Browse files Browse the repository at this point in the history
The #pragma ident is a historical relic and not needed any more, this
pragma is actually unknown for common compilers and is only causing
trouble.

Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Matt Macy <[email protected]>
Signed-off-by: Toomas Soome <[email protected]>
Closes openzfs#10810
  • Loading branch information
tsoome authored and RageLtMan committed May 31, 2021
1 parent 944cf8d commit 327c46d
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 14 deletions.
2 changes: 0 additions & 2 deletions include/os/freebsd/spl/sys/acl_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
#ifndef _SYS_ACL_IMPL_H
#define _SYS_ACL_IMPL_H

#pragma ident "%Z%%M% %I% %E% SMI"

#ifdef __cplusplus
extern "C" {
#endif
Expand Down
2 changes: 0 additions & 2 deletions include/os/freebsd/spl/sys/cmn_err.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
#ifndef _SYS_CMN_ERR_H
#define _SYS_CMN_ERR_H

#pragma ident "%Z%%M% %I% %E% SMI"

#if !defined(_ASM)
#include <sys/_stdarg.h>
#endif
Expand Down
2 changes: 0 additions & 2 deletions include/os/freebsd/spl/sys/extdirent.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
#ifndef _SYS_EXTDIRENT_H
#define _SYS_EXTDIRENT_H

#pragma ident "%Z%%M% %I% %E% SMI"

#ifdef __cplusplus
extern "C" {
#endif
Expand Down
2 changes: 0 additions & 2 deletions include/os/freebsd/spl/sys/list.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
#ifndef _SYS_LIST_H
#define _SYS_LIST_H

#pragma ident "%Z%%M% %I% %E% SMI"

#include <sys/list_impl.h>

#ifdef __cplusplus
Expand Down
2 changes: 0 additions & 2 deletions include/os/freebsd/spl/sys/list_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
#ifndef _SYS_LIST_IMPL_H
#define _SYS_LIST_IMPL_H

#pragma ident "%Z%%M% %I% %E% SMI"

#include <sys/types.h>

#ifdef __cplusplus
Expand Down
2 changes: 0 additions & 2 deletions include/os/freebsd/spl/sys/zmod.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
#ifndef _ZMOD_H
#define _ZMOD_H

#pragma ident "%Z%%M% %I% %E% SMI"

#ifdef __cplusplus
extern "C" {
#endif
Expand Down
2 changes: 0 additions & 2 deletions module/os/freebsd/spl/list.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
* Use is subject to license terms.
*/

#pragma ident "%Z%%M% %I% %E% SMI"

/*
* Generic doubly-linked list implementation
*/
Expand Down

0 comments on commit 327c46d

Please sign in to comment.