diff options
author | unknown <tomas@mc05.(none)> | 2004-05-12 06:24:12 +0200 |
---|---|---|
committer | unknown <tomas@mc05.(none)> | 2004-05-12 06:24:12 +0200 |
commit | efe5a75d7d8cc42b387e68d74359def0d8ea4f20 (patch) | |
tree | 83e35cb392312ebf8591779828136965f605265e /ndb/src/cw | |
parent | 4ea1e89755f8febec25a61e21271f40dc3b5f06d (diff) | |
download | mariadb-git-efe5a75d7d8cc42b387e68d74359def0d8ea4f20.tar.gz |
portability/autoconf fixes and removed warnings
ndb/include/newtonapi/defs/pcn_types.h:
portability/autoconf fixes
ndb/include/portlib/NdbMutex.h:
portability/autoconf fixes
ndb/src/common/editline/editline.c:
portability/autoconf fixes
ndb/src/common/mgmcommon/ConfigRetriever.cpp:
portability/autoconf fixes
ndb/src/common/portlib/memtest/munmaptest/munmaptest.cpp:
portability/autoconf fixes
ndb/src/common/portlib/unix/NdbCondition.c:
portability/autoconf fixes
ndb/src/common/portlib/unix/NdbDaemon.c:
portability/autoconf fixes
ndb/src/common/portlib/unix/NdbHost.c:
portability/autoconf fixes
ndb/src/common/util/File.cpp:
portability/autoconf fixes
ndb/src/common/util/getarg.c:
portability/autoconf fixes
ndb/src/common/util/strlcat.c:
portability/autoconf fixes
ndb/src/common/util/strlcpy.c:
portability/autoconf fixes
ndb/src/cw/cpcd/Process.cpp:
portability/autoconf fixes
ndb/src/cw/cpcd/common.cpp:
portability/autoconf fixes
ndb/src/cw/cpcd/main.cpp:
portability/autoconf fixes
ndb/src/kernel/blocks/dbdict/printSchemafile/printSchemafile.cpp:
portability/autoconf fixes
ndb/src/kernel/blocks/dbdih/printSysfile/printSysfile.cpp:
portability/autoconf fixes
ndb/src/kernel/blocks/ndbfs/AsyncFileTest/AsyncFileTest.cpp:
portability/autoconf fixes
ndb/src/kernel/error/TimeModule.cpp:
portability/autoconf fixes
ndb/src/kernel/ndb-main/Main.cpp:
portability/autoconf fixes
ndb/src/mgmsrv/MgmtSrvr.cpp:
portability/autoconf fixes
ndb/src/mgmsrv/main.cpp:
portability/autoconf fixes
ndb/test/ndbapi/flexBench/flexBench.cpp:
removed warnings
ndb/test/src/HugoCalculator.cpp:
removed warnings
ndb/test/src/HugoOperations.cpp:
removed warnings
ndb/test/src/HugoTransactions.cpp:
removed warnings
ndb/test/src/NDBT_ResultRow.cpp:
removed warnings
ndb/test/src/NdbBackup.cpp:
removed warnings
ndb/test/src/NdbConfig.cpp:
removed warnings
ndb/test/src/NdbRestarter.cpp:
removed warnings
ndb/tools/cpcc/cpcc.cpp:
removed warnings
Diffstat (limited to 'ndb/src/cw')
-rw-r--r-- | ndb/src/cw/cpcd/Process.cpp | 3 | ||||
-rw-r--r-- | ndb/src/cw/cpcd/common.cpp | 4 | ||||
-rw-r--r-- | ndb/src/cw/cpcd/main.cpp | 4 |
3 files changed, 3 insertions, 8 deletions
diff --git a/ndb/src/cw/cpcd/Process.cpp b/ndb/src/cw/cpcd/Process.cpp index 8a79669937d..4c6bf6ce0f6 100644 --- a/ndb/src/cw/cpcd/Process.cpp +++ b/ndb/src/cw/cpcd/Process.cpp @@ -25,10 +25,7 @@ #include "CPCD.hpp" #include <pwd.h> -#include <sys/stat.h> #include <sys/resource.h> -#include <sys/types.h> -#include <sys/wait.h> void CPCD::Process::print(FILE * f){ diff --git a/ndb/src/cw/cpcd/common.cpp b/ndb/src/cw/cpcd/common.cpp index b2de90c468e..cb1c0c37183 100644 --- a/ndb/src/cw/cpcd/common.cpp +++ b/ndb/src/cw/cpcd/common.cpp @@ -14,11 +14,11 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include <ndb_global.h> + #include "common.hpp" #include <logger/Logger.hpp> #include <pwd.h> -#include <sys/types.h> -#include <unistd.h> #include <Properties.hpp> #include <BaseString.hpp> diff --git a/ndb/src/cw/cpcd/main.cpp b/ndb/src/cw/cpcd/main.cpp index 8dd4f2b4608..11f6238d5f7 100644 --- a/ndb/src/cw/cpcd/main.cpp +++ b/ndb/src/cw/cpcd/main.cpp @@ -14,9 +14,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include <sys/types.h> /* Needed for mkdir(2) */ -#include <sys/stat.h> /* Needed for mkdir(2) */ -#include <errno.h> +#include <ndb_global.h> /* Needed for mkdir(2) */ #include <signal.h> #include "CPCD.hpp" |