1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

consistency in declaring service symbols

This commit is contained in:
Sergei Golubchik
2013-04-07 14:43:26 +02:00
parent daac5b511c
commit 78c0642073
5 changed files with 5 additions and 5 deletions

View File

@@ -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)

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;