Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
7d66e48d
Commit
7d66e48d
authored
Sep 28, 2010
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes for gcc 4.5
parent
ca672e6b
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
5 deletions
+6
-5
include/mysql/client_plugin.h
include/mysql/client_plugin.h
+2
-0
include/mysql/client_plugin.h.pp
include/mysql/client_plugin.h.pp
+0
-2
include/mysql/plugin_auth.h.pp
include/mysql/plugin_auth.h.pp
+0
-3
include/mysql/service_my_snprintf.h
include/mysql/service_my_snprintf.h
+2
-0
include/mysql/service_thd_alloc.h
include/mysql/service_thd_alloc.h
+2
-0
No files found.
include/mysql/client_plugin.h
View file @
7d66e48d
...
@@ -23,8 +23,10 @@
...
@@ -23,8 +23,10 @@
*/
*/
#define MYSQL_CLIENT_PLUGIN_INCLUDED
#define MYSQL_CLIENT_PLUGIN_INCLUDED
#ifndef MYSQL_ABI_CHECK
#include <stdarg.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdlib.h>
#endif
/* known plugin types */
/* known plugin types */
#define MYSQL_CLIENT_reserved1 0
#define MYSQL_CLIENT_reserved1 0
...
...
include/mysql/client_plugin.h.pp
View file @
7d66e48d
#include <stdarg.h>
#include <stdlib.h>
struct
st_mysql_client_plugin
struct
st_mysql_client_plugin
{
{
int
type
;
unsigned
int
interface_version
;
const
char
*
name
;
const
char
*
author
;
const
char
*
desc
;
unsigned
int
version
[
3
];
int
(
*
init
)(
char
*
,
size_t
,
int
,
va_list
);
int
(
*
deinit
)();
int
type
;
unsigned
int
interface_version
;
const
char
*
name
;
const
char
*
author
;
const
char
*
desc
;
unsigned
int
version
[
3
];
int
(
*
init
)(
char
*
,
size_t
,
int
,
va_list
);
int
(
*
deinit
)();
...
...
include/mysql/plugin_auth.h.pp
View file @
7d66e48d
#include <mysql/plugin.h>
#include <mysql/plugin.h>
#include <mysql/services.h>
#include <mysql/services.h>
#include <mysql/service_my_snprintf.h>
#include <mysql/service_my_snprintf.h>
#include <stdarg.h>
#include <stdlib.h>
extern
struct
my_snprintf_service_st
{
extern
struct
my_snprintf_service_st
{
size_t
(
*
my_snprintf_type
)(
char
*
,
size_t
,
const
char
*
,
...
);
size_t
(
*
my_snprintf_type
)(
char
*
,
size_t
,
const
char
*
,
...
);
size_t
(
*
my_vsnprintf_type
)(
char
*
,
size_t
,
const
char
*
,
va_list
);
size_t
(
*
my_vsnprintf_type
)(
char
*
,
size_t
,
const
char
*
,
va_list
);
...
@@ -10,7 +8,6 @@ extern struct my_snprintf_service_st {
...
@@ -10,7 +8,6 @@ extern struct my_snprintf_service_st {
size_t
my_snprintf
(
char
*
to
,
size_t
n
,
const
char
*
fmt
,
...
);
size_t
my_snprintf
(
char
*
to
,
size_t
n
,
const
char
*
fmt
,
...
);
size_t
my_vsnprintf
(
char
*
to
,
size_t
n
,
const
char
*
fmt
,
va_list
ap
);
size_t
my_vsnprintf
(
char
*
to
,
size_t
n
,
const
char
*
fmt
,
va_list
ap
);
#include <mysql/service_thd_alloc.h>
#include <mysql/service_thd_alloc.h>
#include <stdlib.h>
struct
st_mysql_lex_string
struct
st_mysql_lex_string
{
{
char
*
str
;
char
*
str
;
...
...
include/mysql/service_my_snprintf.h
View file @
7d66e48d
...
@@ -70,8 +70,10 @@
...
@@ -70,8 +70,10 @@
extern
"C"
{
extern
"C"
{
#endif
#endif
#ifndef MYSQL_ABI_CHECK
#include <stdarg.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdlib.h>
#endif
extern
struct
my_snprintf_service_st
{
extern
struct
my_snprintf_service_st
{
size_t
(
*
my_snprintf_type
)(
char
*
,
size_t
,
const
char
*
,
...);
size_t
(
*
my_snprintf_type
)(
char
*
,
size_t
,
const
char
*
,
...);
size_t
(
*
my_vsnprintf_type
)(
char
*
,
size_t
,
const
char
*
,
va_list
);
size_t
(
*
my_vsnprintf_type
)(
char
*
,
size_t
,
const
char
*
,
va_list
);
...
...
include/mysql/service_thd_alloc.h
View file @
7d66e48d
...
@@ -27,7 +27,9 @@
...
@@ -27,7 +27,9 @@
allocations - they are better served with my_malloc.
allocations - they are better served with my_malloc.
*/
*/
#ifndef MYSQL_ABI_CHECK
#include <stdlib.h>
#include <stdlib.h>
#endif
#ifdef __cplusplus
#ifdef __cplusplus
extern
"C"
{
extern
"C"
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment