From 635a7afc3d59fe3ebf7e67f11fc41bdd43fd1d74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Mon, 10 Jun 2002 17:31:57 +0000 Subject: [PATCH] remove some using for functions never to be found in std:: git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4354 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/ChangeLog | 44 ++++++++++++++++++++++++----------------- src/support/filetools.C | 2 -- src/support/kill.C | 8 ++------ src/support/putenv.C | 7 ++----- 4 files changed, 30 insertions(+), 31 deletions(-) diff --git a/src/support/ChangeLog b/src/support/ChangeLog index 319456ff68..b88565dd7f 100644 --- a/src/support/ChangeLog +++ b/src/support/ChangeLog @@ -1,3 +1,11 @@ +2002-06-10 Lars Gullik Bjønnes + + * putenv.C (putenv): putenv should never be found in std:: + + * kill.C (kill): kill should never be found in std:: + + * filetools.C: pclose and popen should never be found in std:: + 2002-06-07 Angus Leeming Fixes needed to compile with Compaq cxx 6.5. @@ -25,24 +33,24 @@ * lxtl.h: remove unused file 2002-05-30 John Levon - - * Makefile.am: - * date.C: - * getUserName.C: - * fileblocks.c: - * StrPool.h: - * StrPool.C: remove unused files - - * lyxalgo.h: - * lyxlib.h: - * mkdir.C: - * path.h: - * path.C: - * systemcall.C: - * textutils.h: - * translator.h: - * types.h: document and small cleanups - + + * Makefile.am: + * date.C: + * getUserName.C: + * fileblocks.c: + * StrPool.h: + * StrPool.C: remove unused files + + * lyxalgo.h: + * lyxlib.h: + * mkdir.C: + * path.h: + * path.C: + * systemcall.C: + * textutils.h: + * translator.h: + * types.h: document and small cleanups + 2002-05-29 Lars Gullik Bjønnes * switch from SigC signals to boost::signals. diff --git a/src/support/filetools.C b/src/support/filetools.C index 0cc8eb1123..04acf503ae 100644 --- a/src/support/filetools.C +++ b/src/support/filetools.C @@ -66,8 +66,6 @@ using std::fgetc; using std::isalpha; using std::isalnum; -using std::pclose; -using std::popen; #endif using std::make_pair; diff --git a/src/support/kill.C b/src/support/kill.C index a349891763..105ce29db6 100644 --- a/src/support/kill.C +++ b/src/support/kill.C @@ -1,13 +1,9 @@ #include -#include -#include - #include "lyxlib.h" -#ifndef CXX_GLOBAL_CSTD -using std::kill; -#endif +#include +#include int lyx::kill(int pid, int sig) { diff --git a/src/support/putenv.C b/src/support/putenv.C index 8fe84032b0..e1df575452 100644 --- a/src/support/putenv.C +++ b/src/support/putenv.C @@ -1,12 +1,9 @@ #include +#include "lyxlib.h" + #include -#ifndef CXX_GLOBAL_CSTD -using std::putenv; -#endif - -#include "lyxlib.h" int lyx::putenv(char const * str) { return ::putenv(const_cast(str));