summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-23 09:47:48 +0200
committerNoel Grandin <noel@peralex.com>2015-01-08 10:39:36 +0200
commit45ec1d9b56cec41596f806ebf845ebfcd30c9f46 (patch)
treee368da6d3ae2c8a5c8e214b99dd0f95861d0fc78 /sal
parent0748a5f8298e2ea817e131234f5e99300ed7f9f7 (diff)
brute-force find-and-remove of unused #define constants.
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
Diffstat (limited to 'sal')
-rw-r--r--sal/android/uthash.h1
-rw-r--r--sal/osl/unx/file_error_transl.hxx1
-rw-r--r--sal/osl/w32/file_url.h1
-rw-r--r--sal/osl/w32/sockimpl.h2
-rw-r--r--sal/qa/osl/socket/osl_Socket_Const_orig.h5
5 files changed, 0 insertions, 10 deletions
diff --git a/sal/android/uthash.h b/sal/android/uthash.h
index 48e7fba81026..076046903046 100644
--- a/sal/android/uthash.h
+++ b/sal/android/uthash.h
@@ -63,7 +63,6 @@ typedef unsigned int uint32_t;
#include <inttypes.h> /* uint32_t */
#endif
-#define UTHASH_VERSION 1.9.3
#define uthash_fatal(msg) exit(-1) /* fatal error (out of memory,etc) */
#define uthash_malloc(sz) malloc(sz) /* malloc fcn */
diff --git a/sal/osl/unx/file_error_transl.hxx b/sal/osl/unx/file_error_transl.hxx
index 33f282b8ae97..51be5aacf998 100644
--- a/sal/osl/unx/file_error_transl.hxx
+++ b/sal/osl/unx/file_error_transl.hxx
@@ -44,7 +44,6 @@
*********************************************/
-#define OSL_FET_SUCCESS false
#define OSL_FET_ERROR true
oslFileError oslTranslateFileError(bool bIsError, int Errno);
diff --git a/sal/osl/w32/file_url.h b/sal/osl/w32/file_url.h
index 080b3ca7f93c..9f7a37ffac0f 100644
--- a/sal/osl/w32/file_url.h
+++ b/sal/osl/w32/file_url.h
@@ -52,7 +52,6 @@ extern "C" {
#define VALIDATEPATH_ALLOW_WILDCARDS 0x0001
#define VALIDATEPATH_ALLOW_ELLIPSE 0x0002
#define VALIDATEPATH_ALLOW_RELATIVE 0x0004
-#define VALIDATEPATH_ALLOW_UNC 0x0008
#define VALIDATEPATH_ALLOW_INVALID_SPACE_AND_PERIOD 0x0010
#define MAX_LONG_PATH 32767
diff --git a/sal/osl/w32/sockimpl.h b/sal/osl/w32/sockimpl.h
index df56bdbdaeaf..d0e56f1a80d0 100644
--- a/sal/osl/w32/sockimpl.h
+++ b/sal/osl/w32/sockimpl.h
@@ -52,8 +52,6 @@ void __osl_destroySocketImpl(oslSocket pImpl);
/*****************************************************************************/
#define INTERNET_MODULE_NAME "wininet.dll"
-#define INTERNET_CONNECTION_MODEM 0x00000001L
-#define INTERNET_CONNECTION_LAN 0x00000002L
#define INTERNET_CONNECTION_HANGUP 0x80000000L
typedef DWORD (WINAPI *INTERNETATTEMPTCONNECT) (
diff --git a/sal/qa/osl/socket/osl_Socket_Const_orig.h b/sal/qa/osl/socket/osl_Socket_Const_orig.h
index 43f91d07c6d9..28e2fdc5237b 100644
--- a/sal/qa/osl/socket/osl_Socket_Const_orig.h
+++ b/sal/qa/osl/socket/osl_Socket_Const_orig.h
@@ -83,14 +83,10 @@ extern "C"
#define IP_PORT_ZERO 0
#define IP_PORT_FTP 21
#define IP_PORT_TELNET 23
-#define IP_PORT_SMTP 25
-#define IP_PORT_GOPHER 70
#define IP_PORT_HTTP1 80
#define IP_PORT_POP3 110
#define IP_PORT_NETBIOS_DGM 138
#define IP_PORT_NETBIOS 139
-#define IP_PORT_IMAP 143
-#define IP_PORT_HTTPS 443
#define IP_PORT_HTTP2 8080
/**reference: http://www.iana.org/assignments/port-numbers */
#define IP_PORT_MYPORT 8881 //8888
@@ -105,7 +101,6 @@ extern "C"
#define IP_PORT_MYPORT9 8897
#define IP_PORT_MYPORT10 8898
-#define IP_PORT_TMP 9999
#define IP_PORT_INVAL 99999
// service definitions.