Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
babeld
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
babeld
Commits
87e87774
Commit
87e87774
authored
Mar 16, 2008
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some random GCC attributes.
parent
b4453d10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
util.h
util.h
+3
-3
No files found.
util.h
View file @
87e87774
...
@@ -36,7 +36,7 @@ int timeval_compare(const struct timeval *s1, const struct timeval *s2)
...
@@ -36,7 +36,7 @@ int timeval_compare(const struct timeval *s1, const struct timeval *s2)
ATTRIBUTE
((
pure
));
ATTRIBUTE
((
pure
));
void
timeval_min
(
struct
timeval
*
d
,
const
struct
timeval
*
s
);
void
timeval_min
(
struct
timeval
*
d
,
const
struct
timeval
*
s
);
void
timeval_min_sec
(
struct
timeval
*
d
,
time_t
secs
);
void
timeval_min_sec
(
struct
timeval
*
d
,
time_t
secs
);
int
parse_msec
(
const
char
*
string
);
int
parse_msec
(
const
char
*
string
)
ATTRIBUTE
((
pure
))
;
void
do_debugf
(
int
leve
,
const
char
*
format
,
...)
void
do_debugf
(
int
leve
,
const
char
*
format
,
...)
ATTRIBUTE
((
format
(
printf
,
2
,
3
)));
ATTRIBUTE
((
format
(
printf
,
2
,
3
)));
int
in_prefix
(
const
unsigned
char
*
address
,
int
in_prefix
(
const
unsigned
char
*
address
,
...
@@ -51,8 +51,8 @@ int parse_address(const char *address, unsigned char *addr_r, int *af_r);
...
@@ -51,8 +51,8 @@ int parse_address(const char *address, unsigned char *addr_r, int *af_r);
int
parse_net
(
const
char
*
net
,
unsigned
char
*
prefix_r
,
unsigned
char
*
plen_r
,
int
parse_net
(
const
char
*
net
,
unsigned
char
*
prefix_r
,
unsigned
char
*
plen_r
,
int
*
af_r
);
int
*
af_r
);
int
wait_for_fd
(
int
direction
,
int
fd
,
int
msecs
);
int
wait_for_fd
(
int
direction
,
int
fd
,
int
msecs
);
int
martian_prefix
(
const
unsigned
char
*
prefix
,
int
plen
);
int
martian_prefix
(
const
unsigned
char
*
prefix
,
int
plen
)
ATTRIBUTE
((
pure
))
;
int
v4mapped
(
const
unsigned
char
*
address
);
int
v4mapped
(
const
unsigned
char
*
address
)
ATTRIBUTE
((
pure
))
;
void
v4tov6
(
unsigned
char
*
dst
,
const
unsigned
char
*
src
);
void
v4tov6
(
unsigned
char
*
dst
,
const
unsigned
char
*
src
);
char
*
parse_ifflags
(
unsigned
int
flags
);
char
*
parse_ifflags
(
unsigned
int
flags
);
int
daemonise
(
void
);
int
daemonise
(
void
);
...
...
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