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
76a64b4f
Commit
76a64b4f
authored
Oct 24, 2004
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Fix missing parens for __FD_* operations.
fork.c highlighted that we were missing some parens. Add them.
parent
69fbc509
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
include/asm-arm/posix_types.h
include/asm-arm/posix_types.h
+4
-4
No files found.
include/asm-arm/posix_types.h
View file @
76a64b4f
...
@@ -62,19 +62,19 @@ typedef struct {
...
@@ -62,19 +62,19 @@ typedef struct {
#undef __FD_SET
#undef __FD_SET
#define __FD_SET(fd, fdsetp) \
#define __FD_SET(fd, fdsetp) \
(((fd_set *)
fdsetp)->fds_bits[fd >> 5] |= (1<<(fd
& 31)))
(((fd_set *)
(fdsetp))->fds_bits[(fd) >> 5] |= (1<<((fd)
& 31)))
#undef __FD_CLR
#undef __FD_CLR
#define __FD_CLR(fd, fdsetp) \
#define __FD_CLR(fd, fdsetp) \
(((fd_set *)
fdsetp)->fds_bits[fd >> 5] &= ~(1<<(fd
& 31)))
(((fd_set *)
(fdsetp))->fds_bits[(fd) >> 5] &= ~(1<<((fd)
& 31)))
#undef __FD_ISSET
#undef __FD_ISSET
#define __FD_ISSET(fd, fdsetp) \
#define __FD_ISSET(fd, fdsetp) \
((((fd_set *)
fdsetp)->fds_bits[fd >> 5] & (1<<(fd
& 31))) != 0)
((((fd_set *)
(fdsetp))->fds_bits[(fd) >> 5] & (1<<((fd)
& 31))) != 0)
#undef __FD_ZERO
#undef __FD_ZERO
#define __FD_ZERO(fdsetp) \
#define __FD_ZERO(fdsetp) \
(memset (fdsetp, 0, sizeof (*(fd_set *)
fdsetp
)))
(memset (fdsetp, 0, sizeof (*(fd_set *)
(fdsetp)
)))
#endif
#endif
...
...
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