Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
247df480
Commit
247df480
authored
Feb 25, 2003
by
Christoph Hellwig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] shut up gcc warnings about _lsn_cmp
SGI Modid: 2.5.x-xfs:slinx:140187a
parent
ed3373fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
fs/xfs/xfs_log.h
fs/xfs/xfs_log.h
+3
-3
No files found.
fs/xfs/xfs_log.h
View file @
247df480
...
@@ -53,11 +53,11 @@
...
@@ -53,11 +53,11 @@
* endian issues in treating two 32 bit numbers as one 64 bit number
* endian issues in treating two 32 bit numbers as one 64 bit number
*/
*/
static
static
#ifdef __GNUC__
#if defined(__GNUC__) && (__GNUC__ == 2) && (__GNUC_MINOR__ == 95)
# if !((__GNUC__ == 2) && (__GNUC_MINOR__ == 95))
__attribute__
((
unused
))
/* gcc 2.95 miscompiles this when inlined */
#else
__inline__
__inline__
#endif
#endif
#endif
xfs_lsn_t
_lsn_cmp
(
xfs_lsn_t
lsn1
,
xfs_lsn_t
lsn2
,
xfs_arch_t
arch
)
xfs_lsn_t
_lsn_cmp
(
xfs_lsn_t
lsn1
,
xfs_lsn_t
lsn2
,
xfs_arch_t
arch
)
{
{
if
(
CYCLE_LSN
(
lsn1
,
arch
)
!=
CYCLE_LSN
(
lsn2
,
arch
))
if
(
CYCLE_LSN
(
lsn1
,
arch
)
!=
CYCLE_LSN
(
lsn2
,
arch
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment