Commit 0caa5ab
committed
CCBC-1596: Fix signatures to match declaration with (void) for arg list
contrib/cJSON/cJSON.c:924:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
cJSON *cJSON_CreateNull()
^
contrib/cJSON/cJSON.c:930:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
cJSON *cJSON_CreateTrue()
^
contrib/cJSON/cJSON.c:936:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
cJSON *cJSON_CreateFalse()
^
contrib/cJSON/cJSON.c:965:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
cJSON *cJSON_CreateArray()
^
contrib/cJSON/cJSON.c:971:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
cJSON *cJSON_CreateObject()
^
contrib/HdrHistogram_c/src/hdr_thread.c:91:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
void hdr_yield()
^
Change-Id: I6edd9079406a6fd3132b9c54710076dfd4855fb9
Reviewed-on: https://review.couchbase.org/c/libcouchbase/+/190105
Reviewed-by: Brett Lawson <brett19@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>1 parent d4738c8 commit 0caa5ab
2 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
921 | 921 | | |
922 | 922 | | |
923 | 923 | | |
924 | | - | |
| 924 | + | |
925 | 925 | | |
926 | 926 | | |
927 | 927 | | |
928 | 928 | | |
929 | 929 | | |
930 | | - | |
| 930 | + | |
931 | 931 | | |
932 | 932 | | |
933 | 933 | | |
934 | 934 | | |
935 | 935 | | |
936 | | - | |
| 936 | + | |
937 | 937 | | |
938 | 938 | | |
939 | 939 | | |
| |||
962 | 962 | | |
963 | 963 | | |
964 | 964 | | |
965 | | - | |
| 965 | + | |
966 | 966 | | |
967 | 967 | | |
968 | 968 | | |
969 | 969 | | |
970 | 970 | | |
971 | | - | |
| 971 | + | |
972 | 972 | | |
973 | 973 | | |
974 | 974 | | |
| |||
0 commit comments