Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libbsd
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
libbsd
libbsd
Commits
f34a5f71
Commit
f34a5f71
authored
Aug 06, 2019
by
Guillem Jover
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
err: Mark error functions as non-returning with __dead2
parent
72c68868
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
include/bsd/err.h
include/bsd/err.h
+3
-2
No files found.
include/bsd/err.h
View file @
f34a5f71
...
...
@@ -47,10 +47,11 @@ void warnc(int code, const char *format, ...)
__printflike
(
2
,
3
);
void
vwarnc
(
int
code
,
const
char
*
format
,
va_list
ap
)
__printflike
(
2
,
0
);
void
errc
(
int
status
,
int
code
,
const
char
*
format
,
...)
__printflike
(
3
,
4
);
__printflike
(
3
,
4
)
__dead2
;
void
verrc
(
int
status
,
int
code
,
const
char
*
format
,
va_list
ap
)
__printflike
(
3
,
0
);
__printflike
(
3
,
0
)
__dead2
;
__END_DECLS
#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