Created attachment 342444 [details] Patch fixing this problem Description of problem: cert.h doesn't have valid function prototypes. For example CERT_GetPKIXVerifyNistRevocationPolicy() should be CERT_GetPKIXVerifyNistRevocationPolicy(void). Attached patch will say you more. Version-Release number of selected component (if applicable): nss-devel-3.12.2.0-4.el5 How reproducible: always Steps to Reproduce: 1. write main.c with #include <cert.h> int main(void) { return 0; } 2. gcc `pkg-config --libs --cflags nss` -Wstrict-prototypes main.c Actual results: /usr/include/nss3/cert.h:1608: warning: function declaration isn’t a prototype /usr/include/nss3/cert.h:1614: warning: function declaration isn’t a prototype /usr/include/nss3/cert.h:1620: warning: function declaration isn’t a prototype /usr/include/nss3/cert.h:1654: warning: function declaration isn’t a prototype Expected results: No warnings displayed Additional info: Patch included.
Thanks for the report. Bug forwarded to upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=491919 I assume you can wait until upstream fixes this warning. Closing as upstream.