diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-07-02 17:45:34 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-07-02 17:46:25 +0200 |
commit | 278000a28b8eceb8528ebdcf1d601de8192979e8 (patch) | |
tree | a522e5b53bca5d3e34c8a86d7bbee25a1ad15b3a /sal | |
parent | 892bb81d17b3351c196661c44fb15b29509c7115 (diff) |
Remove unused defines
Some of them were commented out for documentation purpose.
Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/process.cxx | 4 | ||||
-rw-r--r-- | sal/osl/unx/signal.c | 2 | ||||
-rw-r--r-- | sal/qa/osl/file/osl_File_Const.h | 5 | ||||
-rw-r--r-- | sal/workben/testfile.cxx | 2 |
4 files changed, 0 insertions, 13 deletions
diff --git a/sal/osl/unx/process.cxx b/sal/osl/unx/process.cxx index cb9d6c8bf4c1..280b7ece317f 100644 --- a/sal/osl/unx/process.cxx +++ b/sal/osl/unx/process.cxx @@ -75,10 +75,6 @@ #define MAX_ARGS 255 #define MAX_ENVS 255 -#if defined(MACOSX) || defined(IOS) || defined(IORESOURCE_TRANSFER_BSD) || defined(AIX) -#define CONTROLLEN (sizeof(struct cmsghdr) + sizeof(int)) -#endif - /****************************************************************************** * * Data Type Definition diff --git a/sal/osl/unx/signal.c b/sal/osl/unx/signal.c index 86975221db1a..f3a5f8a928ff 100644 --- a/sal/osl/unx/signal.c +++ b/sal/osl/unx/signal.c @@ -85,8 +85,6 @@ # define ACT_ABORT ACT_SYSTEM #endif -#define MAX_PATH_LEN 2048 - #if defined(HAVE_MEMCHECK_H) #include <memcheck.h> #endif diff --git a/sal/qa/osl/file/osl_File_Const.h b/sal/qa/osl/file/osl_File_Const.h index 939e6df92f90..15b9a622f234 100644 --- a/sal/qa/osl/file/osl_File_Const.h +++ b/sal/qa/osl/file/osl_File_Const.h @@ -57,11 +57,6 @@ const sal_Char pBuffer_Char[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRS const sal_Char pBuffer_Number[] = "1234567890"; const sal_Char pBuffer_Blank[] = ""; -#define TRUNC_LEN 10; -#define ENLARG_LEN 100; - - - //------------------------------------------------------------------------ // OS dependent/independent definitions/includes // we use FILE_PREFIX for URL prefix, diff --git a/sal/workben/testfile.cxx b/sal/workben/testfile.cxx index 0ec2fe9600c3..22f05b840bae 100644 --- a/sal/workben/testfile.cxx +++ b/sal/workben/testfile.cxx @@ -51,8 +51,6 @@ using namespace osl; using namespace rtl; -#define MAXIMPATH 256 - rtl::OUString root; rtl::OUString dir1; |