summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Schleifer <js@heap.zone>2019-09-01 20:50:10 +0200
committerJonathan Schleifer <js@heap.zone>2019-09-01 20:50:10 +0200
commit0bb50108cd4b5c446f5a0a8962f5baefdcfdd594 (patch)
treeee179fec65652457bc40f0a0a161f71726037b03
parentf304683e6b64bbcdab76e25d1d25fb82ae59525f (diff)
condition.h: Remove OF_ASSUME_NONNULL_{BEGIN,END}
This must not be here as then everything would need to have nullability annotations, which causes problems for types that are pointers on some systems but not on others.
-rw-r--r--src/condition.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/condition.h b/src/condition.h
index 53da59a2..3ca02c2d 100644
--- a/src/condition.h
+++ b/src/condition.h
@@ -49,8 +49,6 @@ typedef struct {
} of_condition_t;
#endif
-OF_ASSUME_NONNULL_BEGIN
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -70,5 +68,3 @@ extern bool of_condition_free(of_condition_t *condition);
#ifdef __cplusplus
}
#endif
-
-OF_ASSUME_NONNULL_END