Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-496

Use void keyword in prototypes for functions that take no parameters

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.7.0, 1.7.0-alpha0
    • Affects Version/s: None
    • Component/s: None
    • None

      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.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: