-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove attributes in header file and add final newline
- Loading branch information
1 parent
dc79a35
commit aba61ef
Showing
3 changed files
with
20 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,26 @@ | ||
#ifndef _OWI_H | ||
#define _OWI_H | ||
|
||
void *owi_malloc(void *base, unsigned int size) __attribute__((import_module("summaries"))) __attribute__((import_name("alloc"))); | ||
void *owi_malloc(void *base, unsigned int size); | ||
|
||
void owi_free(void *) __attribute__((import_module("summaries"))) __attribute__((import_name("dealloc"))); | ||
void owi_free(void *); | ||
|
||
char owi_i8(void) __attribute__((import_module("symbolic"))) __attribute__((import_name("i8_symbol"))); | ||
char owi_i8(void); | ||
|
||
int owi_i32(void) __attribute__((import_module("symbolic"))) __attribute__((import_name("i32_symbol"))); | ||
int owi_i32(void); | ||
|
||
long long owi_i64(void) __attribute__((import_module("symbolic"))) __attribute__((import_name("i64_symbol"))); | ||
long long owi_i64(void); | ||
|
||
float owi_f32(void) __attribute__((import_module("symbolic"))) __attribute__((import_name("f32_symbol"))); | ||
float owi_f32(void); | ||
|
||
double owi_f64(void) __attribute__((import_module("symbolic"))) __attribute__((import_name("f64_symbol"))); | ||
double owi_f64(void); | ||
|
||
_Bool owi_bool(void) __attribute__((import_module("symbolic"))) __attribute__((import_name("bool_symbol"))); | ||
_Bool owi_bool(void); | ||
|
||
void owi_assume(int c) __attribute__((import_module("symbolic"))) __attribute__((import_name("assume"))); | ||
void owi_assert(int c) __attribute__((import_module("symbolic"))) __attribute__((import_name("assert"))); | ||
void owi_assume(int c); | ||
void owi_assert(int c); | ||
|
||
void owi_abort(void); | ||
void owi_exit(int c); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters