[MONGOCRYPT-496] Use void keyword in prototypes for functions that take no parameters Created: 14/Nov/22 Updated: 28/Oct/23 Resolved: 14/Nov/22 |
|
| Status: | Closed |
| Project: | Libmongocrypt |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.7.0, 1.7.0-alpha0 |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | Jeremy Mikola | Assignee: | Jeremy Mikola |
| Resolution: | Fixed | 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 Githook User [ 14/Nov/22 ] |
|
Author: {'name': 'Jeremy Mikola', 'email': 'jmikola@gmail.com', 'username': 'jmikola'}Message: |
| Comment by Jeremy Mikola [ 14/Nov/22 ] |