Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
seL4
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Panda
seL4
Commits
7d93471e
Commit
7d93471e
authored
1 year ago
by
Axel Heider
Committed by
Indan Zupancic
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
debug: use c99 standard instead of gcc extensions
Signed-off-by:
Axel Heider
<
axelheider@gmx.de
>
parent
7dbdbee0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/assert.h
+1
-1
1 addition, 1 deletion
include/assert.h
libsel4/include/sel4/assert.h
+1
-1
1 addition, 1 deletion
libsel4/include/sel4/assert.h
with
2 additions
and
2 deletions
include/assert.h
+
1
−
1
View file @
7d93471e
...
...
@@ -30,7 +30,7 @@ void _assert_fail(
#define assert(expr) \
do { \
if (!(expr)) { \
_assert_fail(#expr, __FILE__, __LINE__, __
FUNCTION
__); \
_assert_fail(#expr, __FILE__, __LINE__, __
func
__); \
} \
} while(0)
...
...
This diff is collapsed.
Click to expand it.
libsel4/include/sel4/assert.h
+
1
−
1
View file @
7d93471e
...
...
@@ -32,7 +32,7 @@ void __assert_fail(const char *str, const char *file, int line, const char *fun
* expr as a string plus the file, line and function.
*/
#define seL4_Assert(expr) \
do { if (!(expr)) { __assert_fail(#expr, __FILE__, __LINE__, __
FUNCTION
__); } } while(0)
do { if (!(expr)) { __assert_fail(#expr, __FILE__, __LINE__, __
func
__); } } while(0)
/**
* An assert that tests that the expr is a compile time constant and
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment