]> jfr.im git - irc/atheme/libmowgli-2.git/commit
thread/*_mutexops.c: fix missing extern pollops declarations#
authorAaron Jones <redacted>
Fri, 18 Jan 2019 03:47:02 +0000 (03:47 +0000)
committerAaron Jones <redacted>
Fri, 18 Jan 2019 03:47:02 +0000 (03:47 +0000)
commit3dfbdfad04325640ae44d29209539bdbe7406cc3
treef64ccaf25b1ddbe77b0f4e5bf1b9c887b5642144
parent66d0b538e0afca333b7f992b3406de7fd844bfab
thread/*_mutexops.c: fix missing extern pollops declarations#

Fixes compiler diagnostics:

null_mutexops.c:56:26: warning: no previous extern declaration for
    non-static variable '_mowgli_null_mutex_ops'
    [-Wmissing-variable-declarations]

posix_mutexops.c:69:26: warning: no previous extern declaration for
    non-static variable '_mowgli_posix_mutex_ops'
    [-Wmissing-variable-declarations]

... and probably others.
src/libmowgli/thread/mutex.c
src/libmowgli/thread/mutex_internal.h [new file with mode: 0644]
src/libmowgli/thread/null_mutexops.c
src/libmowgli/thread/posix_mutexops.c
src/libmowgli/thread/win32_mutexops.c