diff options
author | unknown <tomas@mc05.(none)> | 2004-05-06 09:15:39 +0200 |
---|---|---|
committer | unknown <tomas@mc05.(none)> | 2004-05-06 09:15:39 +0200 |
commit | 8546f81a6a29c5dff4625607db429a79e2ef54ce (patch) | |
tree | 5839522045fbbbfc8428f1e1458e6e5dbfb664a4 /ndb/src | |
parent | 5c1069614cfd74ff56ff1393224cbec6d4dc773a (diff) | |
download | mariadb-git-8546f81a6a29c5dff4625607db429a79e2ef54ce.tar.gz |
strlcpy.c, strlcat.c, strdup.c, getarg.c, NdbString.h, Epilogue.mk, Defs.mk:
introduced ndb_global.h and removed som HAVE_ and -D flags
ndb_global.h:
new file
ndb/Defs.mk:
introduced ndb_global.h and removed som HAVE_ and -D flags
ndb/Epilogue.mk:
introduced ndb_global.h and removed som HAVE_ and -D flags
ndb/include/util/NdbString.h:
introduced ndb_global.h and removed som HAVE_ and -D flags
ndb/src/common/util/getarg.c:
introduced ndb_global.h and removed som HAVE_ and -D flags
ndb/src/common/util/strdup.c:
introduced ndb_global.h and removed som HAVE_ and -D flags
ndb/src/common/util/strlcat.c:
introduced ndb_global.h and removed som HAVE_ and -D flags
ndb/src/common/util/strlcpy.c:
introduced ndb_global.h and removed som HAVE_ and -D flags
Diffstat (limited to 'ndb/src')
-rw-r--r-- | ndb/src/common/util/getarg.c | 6 | ||||
-rw-r--r-- | ndb/src/common/util/strdup.c | 1 | ||||
-rw-r--r-- | ndb/src/common/util/strlcat.c | 5 | ||||
-rw-r--r-- | ndb/src/common/util/strlcpy.c | 5 |
4 files changed, 4 insertions, 13 deletions
diff --git a/ndb/src/common/util/getarg.c b/ndb/src/common/util/getarg.c index 5f792437a65..7d627a92d18 100644 --- a/ndb/src/common/util/getarg.c +++ b/ndb/src/common/util/getarg.c @@ -32,13 +32,9 @@ * SUCH DAMAGE. */ +#include <ndb_global.h> #include <ndb_types.h> -#ifdef HAVE_CONFIG_H -#include <config.h> -RCSID("$KTH: getarg.c,v 1.23 2000/09/01 21:25:54 lha Exp $"); -#endif - #include <NdbStdio.h> #include <stdlib.h> #include <string.h> diff --git a/ndb/src/common/util/strdup.c b/ndb/src/common/util/strdup.c index 5291be86b0f..c7fb8002ff0 100644 --- a/ndb/src/common/util/strdup.c +++ b/ndb/src/common/util/strdup.c @@ -15,6 +15,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include <ndb_global.h> #include <stdlib.h> #ifndef HAVE_STRDUP diff --git a/ndb/src/common/util/strlcat.c b/ndb/src/common/util/strlcat.c index ccff15da27f..f6e695dffa8 100644 --- a/ndb/src/common/util/strlcat.c +++ b/ndb/src/common/util/strlcat.c @@ -31,10 +31,7 @@ * SUCH DAMAGE. */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - +#include <ndb_global.h> #include <ndb_types.h> /* RCSID("$KTH: strlcat.c,v 1.1 2000/08/16 01:23:47 lha Exp $"); */ diff --git a/ndb/src/common/util/strlcpy.c b/ndb/src/common/util/strlcpy.c index 9a3048081ca..70233e3e239 100644 --- a/ndb/src/common/util/strlcpy.c +++ b/ndb/src/common/util/strlcpy.c @@ -31,10 +31,7 @@ * SUCH DAMAGE. */ -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - +#include <ndb_global.h> #include <ndb_types.h> /* RCSID("$KTH: strlcpy.c,v 1.1 2000/08/16 01:23:48 lha Exp $"); */ |