Commit 78c06420 authored by Sergei Golubchik's avatar Sergei Golubchik

consistency in declaring service symbols

parent daac5b51
...@@ -76,7 +76,7 @@ it should also declare all the accompanying data structures, as necessary ...@@ -76,7 +76,7 @@ it should also declare all the accompanying data structures, as necessary
================================================================== ==================================================================
/* GPL header */ /* GPL header */
#include <service_versions.h> #include <service_versions.h>
SERVICE_VERSION *foo_service= (void*)VERSION_foo; SERVICE_VERSION foo_service= (void*)VERSION_foo;
================================================================== ==================================================================
7. add the new file to libservices/CMakeLists.txt (MYSQLSERVICES_SOURCES) 7. add the new file to libservices/CMakeLists.txt (MYSQLSERVICES_SOURCES)
......
...@@ -15,4 +15,4 @@ ...@@ -15,4 +15,4 @@
*/ */
#include <service_versions.h> #include <service_versions.h>
SERVICE_VERSION *debug_sync_service= (void*)VERSION_debug_sync; SERVICE_VERSION debug_sync_service= (void*)VERSION_debug_sync;
...@@ -14,4 +14,4 @@ ...@@ -14,4 +14,4 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include <service_versions.h> #include <service_versions.h>
SERVICE_VERSION *progress_report_service= (void*)VERSION_progress_report; SERVICE_VERSION progress_report_service= (void*)VERSION_progress_report;
...@@ -15,4 +15,4 @@ ...@@ -15,4 +15,4 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
#include <service_versions.h> #include <service_versions.h>
SERVICE_VERSION *thd_alloc_service= (void*)VERSION_thd_alloc; SERVICE_VERSION thd_alloc_service= (void*)VERSION_thd_alloc;
...@@ -16,4 +16,4 @@ ...@@ -16,4 +16,4 @@
*/ */
#include <service_versions.h> #include <service_versions.h>
SERVICE_VERSION *thd_wait_service= (void*)VERSION_thd_wait; SERVICE_VERSION thd_wait_service= (void*)VERSION_thd_wait;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment