[Git][NTPsec/ntpsec][master] Attempt to address Gitlab issue #257: Warnings with clang 8...

Eric S. Raymond gitlab at mg.gitlab.com
Sat Apr 15 10:04:23 UTC 2017


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
75beca8e by Eric S. Raymond at 2017-04-15T06:04:14-04:00
Attempt to address Gitlab issue #257: Warnings with clang 8...

...on macOS Sierra.  Untested.

- - - - -


1 changed file:

- libntp/pymodule.c


Changes:

=====================================
libntp/pymodule.c
=====================================
--- a/libntp/pymodule.c
+++ b/libntp/pymodule.c
@@ -165,8 +165,9 @@ PyDoc_STRVAR(module_doc,
 "Python wrapper for selected libntp C library routines.\n\
 ");
 
-/* banishes a pointless compiler warning */
+/* banishes pointless compiler warnings on verious Python versions */
 extern PyMODINIT_FUNC initntpc(void);
+extern PyMODINIT_FUNC PyInit_ntpc(void);
 
 // cppcheck-suppress unusedFunction
 NTPSEC_PY_MODULE_INIT(ntpc)



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/75beca8ed491da24e89fd4c82426dfc71c5cfa04

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/75beca8ed491da24e89fd4c82426dfc71c5cfa04
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170415/a3cb828c/attachment.html>


More information about the vc mailing list