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:
@@ -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 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#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 @@
|
|||||||
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 @@
|
|||||||
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 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#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;
|
||||||
|
Reference in New Issue
Block a user