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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
0d284054
Commit
0d284054
authored
Jan 19, 2003
by
monty@mashka.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed compiler warnings
parent
46ec0c5d
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
5 additions
and
134 deletions
+5
-134
cmd-line-utils/libedit/chared.c
cmd-line-utils/libedit/chared.c
+0
-7
cmd-line-utils/libedit/common.c
cmd-line-utils/libedit/common.c
+0
-7
cmd-line-utils/libedit/el.c
cmd-line-utils/libedit/el.c
+0
-7
cmd-line-utils/libedit/emacs.c
cmd-line-utils/libedit/emacs.c
+0
-7
cmd-line-utils/libedit/fgetln.c
cmd-line-utils/libedit/fgetln.c
+3
-2
cmd-line-utils/libedit/hist.c
cmd-line-utils/libedit/hist.c
+0
-7
cmd-line-utils/libedit/history.c
cmd-line-utils/libedit/history.c
+0
-7
cmd-line-utils/libedit/key.c
cmd-line-utils/libedit/key.c
+0
-7
cmd-line-utils/libedit/map.c
cmd-line-utils/libedit/map.c
+0
-7
cmd-line-utils/libedit/parse.c
cmd-line-utils/libedit/parse.c
+0
-7
cmd-line-utils/libedit/prompt.c
cmd-line-utils/libedit/prompt.c
+0
-7
cmd-line-utils/libedit/read.c
cmd-line-utils/libedit/read.c
+0
-7
cmd-line-utils/libedit/readline.c
cmd-line-utils/libedit/readline.c
+0
-4
cmd-line-utils/libedit/refresh.c
cmd-line-utils/libedit/refresh.c
+0
-7
cmd-line-utils/libedit/search.c
cmd-line-utils/libedit/search.c
+0
-7
cmd-line-utils/libedit/sig.c
cmd-line-utils/libedit/sig.c
+0
-7
cmd-line-utils/libedit/term.c
cmd-line-utils/libedit/term.c
+0
-7
cmd-line-utils/libedit/tokenizer.c
cmd-line-utils/libedit/tokenizer.c
+0
-7
cmd-line-utils/libedit/tty.c
cmd-line-utils/libedit/tty.c
+0
-7
cmd-line-utils/libedit/vi.c
cmd-line-utils/libedit/vi.c
+0
-7
mysys/Makefile.am
mysys/Makefile.am
+1
-1
tests/client_test.c
tests/client_test.c
+1
-1
No files found.
cmd-line-utils/libedit/chared.c
View file @
0d284054
...
@@ -37,13 +37,6 @@
...
@@ -37,13 +37,6 @@
*/
*/
#include "compat.h"
#include "compat.h"
#if !defined(lint) && !defined(SCCSID)
#if 0
static char sccsid[] = "@(#)chared.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID
(
"$NetBSD: chared.c,v 1.14 2001/05/17 01:02:17 christos Exp $"
);
#endif
#endif
/* not lint && not SCCSID */
/*
/*
* chared.c: Character editor utilities
* chared.c: Character editor utilities
...
...
cmd-line-utils/libedit/common.c
View file @
0d284054
...
@@ -37,13 +37,6 @@
...
@@ -37,13 +37,6 @@
*/
*/
#include "compat.h"
#include "compat.h"
#if !defined(lint) && !defined(SCCSID)
#if 0
static char sccsid[] = "@(#)common.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID
(
"$NetBSD: common.c,v 1.10 2001/01/10 07:45:41 jdolecek Exp $"
);
#endif
#endif
/* not lint && not SCCSID */
/*
/*
* common.c: Common Editor functions
* common.c: Common Editor functions
...
...
cmd-line-utils/libedit/el.c
View file @
0d284054
...
@@ -37,13 +37,6 @@
...
@@ -37,13 +37,6 @@
*/
*/
#include "compat.h"
#include "compat.h"
#if !defined(lint) && !defined(SCCSID)
#if 0
static char sccsid[] = "@(#)el.c 8.2 (Berkeley) 1/3/94";
#else
__RCSID
(
"$NetBSD: el.c,v 1.21 2001/01/05 22:45:30 christos Exp $"
);
#endif
#endif
/* not lint && not SCCSID */
/*
/*
* el.c: EditLine interface functions
* el.c: EditLine interface functions
...
...
cmd-line-utils/libedit/emacs.c
View file @
0d284054
...
@@ -37,13 +37,6 @@
...
@@ -37,13 +37,6 @@
*/
*/
#include "compat.h"
#include "compat.h"
#if !defined(lint) && !defined(SCCSID)
#if 0
static char sccsid[] = "@(#)emacs.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID
(
"$NetBSD: emacs.c,v 1.9 2001/01/10 07:45:41 jdolecek Exp $"
);
#endif
#endif
/* not lint && not SCCSID */
/*
/*
* emacs.c: Emacs functions
* emacs.c: Emacs functions
...
...
cmd-line-utils/libedit/fgetln.c
View file @
0d284054
...
@@ -95,9 +95,10 @@ getline (char **lineptr, size_t *n, FILE *stream)
...
@@ -95,9 +95,10 @@ getline (char **lineptr, size_t *n, FILE *stream)
char
*
fgetln
(
FILE
*
stream
,
size_t
*
len
)
char
*
fgetln
(
FILE
*
stream
,
size_t
*
len
)
{
{
char
*
ptr
=
NULL
;
char
*
ptr
=
NULL
;
int
sz
=
0
;
int
sz
;
size_t
length
=
0
;
sz
=
getline
(
&
ptr
,
&
sz
,
stream
);
sz
=
getline
(
&
ptr
,
&
length
,
stream
);
if
(
len
)
{
if
(
len
)
{
*
len
=
sz
;
*
len
=
sz
;
}
}
...
...
cmd-line-utils/libedit/hist.c
View file @
0d284054
...
@@ -37,13 +37,6 @@
...
@@ -37,13 +37,6 @@
*/
*/
#include "compat.h"
#include "compat.h"
#if !defined(lint) && !defined(SCCSID)
#if 0
static char sccsid[] = "@(#)hist.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID
(
"$NetBSD: hist.c,v 1.9 2001/05/17 01:02:17 christos Exp $"
);
#endif
#endif
/* not lint && not SCCSID */
/*
/*
* hist.c: History access functions
* hist.c: History access functions
...
...
cmd-line-utils/libedit/history.c
View file @
0d284054
...
@@ -37,13 +37,6 @@
...
@@ -37,13 +37,6 @@
*/
*/
#include "compat.h"
#include "compat.h"
#if !defined(lint) && !defined(SCCSID)
#if 0
static char sccsid[] = "@(#)history.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID
(
"$NetBSD: history.c,v 1.17 2001/03/20 00:08:31 christos Exp $"
);
#endif
#endif
/* not lint && not SCCSID */
/*
/*
* hist.c: History access functions
* hist.c: History access functions
...
...
cmd-line-utils/libedit/key.c
View file @
0d284054
...
@@ -37,13 +37,6 @@
...
@@ -37,13 +37,6 @@
*/
*/
#include "compat.h"
#include "compat.h"
#if !defined(lint) && !defined(SCCSID)
#if 0
static char sccsid[] = "@(#)key.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID
(
"$NetBSD: key.c,v 1.12 2001/05/17 01:02:17 christos Exp $"
);
#endif
#endif
/* not lint && not SCCSID */
/*
/*
* key.c: This module contains the procedures for maintaining
* key.c: This module contains the procedures for maintaining
...
...
cmd-line-utils/libedit/map.c
View file @
0d284054
...
@@ -37,13 +37,6 @@
...
@@ -37,13 +37,6 @@
*/
*/
#include "compat.h"
#include "compat.h"
#if !defined(lint) && !defined(SCCSID)
#if 0
static char sccsid[] = "@(#)map.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID
(
"$NetBSD: map.c,v 1.14 2001/01/09 17:22:09 jdolecek Exp $"
);
#endif
#endif
/* not lint && not SCCSID */
/*
/*
* map.c: Editor function definitions
* map.c: Editor function definitions
...
...
cmd-line-utils/libedit/parse.c
View file @
0d284054
...
@@ -37,13 +37,6 @@
...
@@ -37,13 +37,6 @@
*/
*/
#include "compat.h"
#include "compat.h"
#if !defined(lint) && !defined(SCCSID)
#if 0
static char sccsid[] = "@(#)parse.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID
(
"$NetBSD: parse.c,v 1.14 2001/01/23 15:55:30 jdolecek Exp $"
);
#endif
#endif
/* not lint && not SCCSID */
/*
/*
* parse.c: parse an editline extended command
* parse.c: parse an editline extended command
...
...
cmd-line-utils/libedit/prompt.c
View file @
0d284054
...
@@ -37,13 +37,6 @@
...
@@ -37,13 +37,6 @@
*/
*/
#include "compat.h"
#include "compat.h"
#if !defined(lint) && !defined(SCCSID)
#if 0
static char sccsid[] = "@(#)prompt.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID
(
"$NetBSD: prompt.c,v 1.8 2001/01/10 07:45:41 jdolecek Exp $"
);
#endif
#endif
/* not lint && not SCCSID */
/*
/*
* prompt.c: Prompt printing functions
* prompt.c: Prompt printing functions
...
...
cmd-line-utils/libedit/read.c
View file @
0d284054
...
@@ -37,13 +37,6 @@
...
@@ -37,13 +37,6 @@
*/
*/
#include "compat.h"
#include "compat.h"
#if !defined(lint) && !defined(SCCSID)
#if 0
static char sccsid[] = "@(#)read.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID
(
"$NetBSD: read.c,v 1.19 2001/01/10 07:45:41 jdolecek Exp $"
);
#endif
#endif
/* not lint && not SCCSID */
/*
/*
* read.c: Clean this junk up! This is horrible code.
* read.c: Clean this junk up! This is horrible code.
...
...
cmd-line-utils/libedit/readline.c
View file @
0d284054
...
@@ -37,10 +37,6 @@
...
@@ -37,10 +37,6 @@
*/
*/
#include "compat.h"
#include "compat.h"
#if !defined(lint) && !defined(SCCSID)
__RCSID
(
"$NetBSD: readline.c,v 1.19 2001/01/10 08:10:45 jdolecek Exp $"
);
#endif
/* not lint && not SCCSID */
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdio.h>
...
...
cmd-line-utils/libedit/refresh.c
View file @
0d284054
...
@@ -37,13 +37,6 @@
...
@@ -37,13 +37,6 @@
*/
*/
#include "compat.h"
#include "compat.h"
#if !defined(lint) && !defined(SCCSID)
#if 0
static char sccsid[] = "@(#)refresh.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID
(
"$NetBSD: refresh.c,v 1.17 2001/04/13 00:53:11 lukem Exp $"
);
#endif
#endif
/* not lint && not SCCSID */
/*
/*
* refresh.c: Lower level screen refreshing functions
* refresh.c: Lower level screen refreshing functions
...
...
cmd-line-utils/libedit/search.c
View file @
0d284054
...
@@ -37,13 +37,6 @@
...
@@ -37,13 +37,6 @@
*/
*/
#include "compat.h"
#include "compat.h"
#if !defined(lint) && !defined(SCCSID)
#if 0
static char sccsid[] = "@(#)search.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID
(
"$NetBSD: search.c,v 1.11 2001/01/23 15:55:31 jdolecek Exp $"
);
#endif
#endif
/* not lint && not SCCSID */
/*
/*
* search.c: History and character search functions
* search.c: History and character search functions
...
...
cmd-line-utils/libedit/sig.c
View file @
0d284054
...
@@ -37,13 +37,6 @@
...
@@ -37,13 +37,6 @@
*/
*/
#include "compat.h"
#include "compat.h"
#if !defined(lint) && !defined(SCCSID)
#if 0
static char sccsid[] = "@(#)sig.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID
(
"$NetBSD: sig.c,v 1.8 2001/01/09 17:31:04 jdolecek Exp $"
);
#endif
#endif
/* not lint && not SCCSID */
/*
/*
* sig.c: Signal handling stuff.
* sig.c: Signal handling stuff.
...
...
cmd-line-utils/libedit/term.c
View file @
0d284054
...
@@ -37,13 +37,6 @@
...
@@ -37,13 +37,6 @@
*/
*/
#include "compat.h"
#include "compat.h"
#if !defined(lint) && !defined(SCCSID)
#if 0
static char sccsid[] = "@(#)term.c 8.2 (Berkeley) 4/30/95";
#else
__RCSID
(
"$NetBSD: term.c,v 1.32 2001/01/23 15:55:31 jdolecek Exp $"
);
#endif
#endif
/* not lint && not SCCSID */
/*
/*
* term.c: Editor/termcap-curses interface
* term.c: Editor/termcap-curses interface
...
...
cmd-line-utils/libedit/tokenizer.c
View file @
0d284054
...
@@ -37,13 +37,6 @@
...
@@ -37,13 +37,6 @@
*/
*/
#include "compat.h"
#include "compat.h"
#if !defined(lint) && !defined(SCCSID)
#if 0
static char sccsid[] = "@(#)tokenizer.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID
(
"$NetBSD: tokenizer.c,v 1.7 2001/01/04 15:56:32 christos Exp $"
);
#endif
#endif
/* not lint && not SCCSID */
/*
/*
* tokenize.c: Bourne shell like tokenizer
* tokenize.c: Bourne shell like tokenizer
...
...
cmd-line-utils/libedit/tty.c
View file @
0d284054
...
@@ -37,13 +37,6 @@
...
@@ -37,13 +37,6 @@
*/
*/
#include "compat.h"
#include "compat.h"
#if !defined(lint) && !defined(SCCSID)
#if 0
static char sccsid[] = "@(#)tty.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID
(
"$NetBSD: tty.c,v 1.15 2001/05/17 01:02:17 christos Exp $"
);
#endif
#endif
/* not lint && not SCCSID */
/*
/*
* tty.c: tty interface stuff
* tty.c: tty interface stuff
...
...
cmd-line-utils/libedit/vi.c
View file @
0d284054
...
@@ -37,13 +37,6 @@
...
@@ -37,13 +37,6 @@
*/
*/
#include "compat.h"
#include "compat.h"
#if !defined(lint) && !defined(SCCSID)
#if 0
static char sccsid[] = "@(#)vi.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID
(
"$NetBSD: vi.c,v 1.8 2000/09/04 22:06:33 lukem Exp $"
);
#endif
#endif
/* not lint && not SCCSID */
/*
/*
* vi.c: Vi mode commands.
* vi.c: Vi mode commands.
...
...
mysys/Makefile.am
View file @
0d284054
...
@@ -60,7 +60,7 @@ noinst_PROGRAMS = charset2html @THREAD_LPROGRAMS@
...
@@ -60,7 +60,7 @@ noinst_PROGRAMS = charset2html @THREAD_LPROGRAMS@
# test_dir_DEPENDENCIES= $(LIBRARIES)
# test_dir_DEPENDENCIES= $(LIBRARIES)
# testhash_DEPENDENCIES= $(LIBRARIES)
# testhash_DEPENDENCIES= $(LIBRARIES)
# test_charset_DEPENDENCIES= $(LIBRARIES)
# test_charset_DEPENDENCIES= $(LIBRARIES)
charset2html_DEPENDENCIES
=
$(LIBRARIES)
#
charset2html_DEPENDENCIES= $(LIBRARIES)
EXTRA_PROGRAMS
=
EXTRA_PROGRAMS
=
DEFS
=
-DDEFAULT_BASEDIR
=
\"
$(prefix)
\"
\
DEFS
=
-DDEFAULT_BASEDIR
=
\"
$(prefix)
\"
\
-DDATADIR
=
"
\"
$(MYSQLDATAdir)
\"
"
\
-DDATADIR
=
"
\"
$(MYSQLDATAdir)
\"
"
\
...
...
tests/client_test.c
View file @
0d284054
...
@@ -163,7 +163,7 @@ static void client_connect()
...
@@ -163,7 +163,7 @@ static void client_connect()
char
buff
[
255
];
char
buff
[
255
];
myheader
(
"client_connect"
);
myheader
(
"client_connect"
);
if
(
!
(
mysql
=
mysql_init
(
NULL
)))
if
(
!
(
mysql
=
mysql_init
(
NULL
)))
{
{
myerror
(
"mysql_init() failed"
);
myerror
(
"mysql_init() failed"
);
exit
(
0
);
exit
(
0
);
...
...
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