[CDRIVER-4523] Use void keyword in prototypes for functions that take no parameters Created: 14/Nov/22 Updated: 14/Nov/22 Resolved: 14/Nov/22 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | Jeremy Mikola | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
This satisfies build warnings when compiling with -Wstrict-prototypes. I came across this in mongodb/mongo-php-driver#1381 and looked through PHPC, libmongoc, and libmongocrypt for occurrences to fix. See also: Stack Overflow discussion. |
| Comments |
| Comment by Jeremy Mikola [ 14/Nov/22 ] |
|
I missed that this was already fixed by |