summaryrefslogtreecommitdiff
path: root/mysql-test/my_manage.h
diff options
context:
space:
mode:
authorkent@mysql.com <>2004-11-06 14:01:27 +0100
committerkent@mysql.com <>2004-11-06 14:01:27 +0100
commitf9715d06dc660cc3de701cb4bb7abd222e89313b (patch)
treea97d5cf7a8a89a1014b3c69233e892f7f2dba1c7 /mysql-test/my_manage.h
parentca355c8a46ca015ab87ed273c81141f8d1c14fa9 (diff)
downloadmariadb-git-f9715d06dc660cc3de701cb4bb7abd222e89313b.tar.gz
mysql_test_run_new.c:
Included header fnmatch.h on Unix Changed C++ comments to C comments Corrected indentation of code written on Windows Split up lines to fit into 80 columns Initiated some variables to avoid warnings Added __attribute__((unused)) to unused function parameters Replace tab characters with space Put space after 'for', 'while' etc Added value to 'return' from non void function removef() On Unix strlwr() was incorrectly declared and a no op, replaced it with a macro that does nothing Split several statements on the same line Other minor changes to conform to coding standard
Diffstat (limited to 'mysql-test/my_manage.h')
-rw-r--r--mysql-test/my_manage.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/mysql-test/my_manage.h b/mysql-test/my_manage.h
index 56ba7ce0496..a61c693c22c 100644
--- a/mysql-test/my_manage.h
+++ b/mysql-test/my_manage.h
@@ -21,8 +21,8 @@
/******************************************************************************
- includes
-
+ includes
+
******************************************************************************/
#include <stdlib.h>
@@ -36,7 +36,7 @@
#ifndef __WIN__
#define strnicmp strncasecmp
-char *strlwr(const char *s);
+#define strlwr(STRARG) (STRARG)
#else
int my_vsnprintf_(char *to, size_t n, const char* value, ...);
#endif
@@ -44,12 +44,12 @@ int my_vsnprintf_(char *to, size_t n, const char* value, ...);
/******************************************************************************
- macros
-
+ macros
+
******************************************************************************/
-#define ARG_BUF 10
-#define TRY_MAX 5
+#define ARG_BUF 10
+#define TRY_MAX 5
#ifdef __WIN__
#define PATH_MAX _MAX_PATH
@@ -71,8 +71,8 @@ bool skip_first_param;
/******************************************************************************
- structures
-
+ structures
+
******************************************************************************/
typedef struct
@@ -90,14 +90,14 @@ typedef int pid_t;
#endif
/******************************************************************************
- global variables
-
+ global variables
+
******************************************************************************/
/******************************************************************************
- prototypes
-
+ prototypes
+
******************************************************************************/
void init_args(arg_list_t *);