summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorViktor Szakats <commit@vsz.me>2021-02-23 12:04:29 +0000
committerViktor Szakats <commit@vsz.me>2021-02-23 12:04:29 +0000
commit95014b0a4d41723e05e8d6e3d9b0636fdd92eab6 (patch)
tree7f0e7939b817f9902eb43749e471139dc3113372 /lib
parentc79b9de45ca97418e1e0daff96175254000ee5d9 (diff)
downloadcurl-95014b0a4d41723e05e8d6e3d9b0636fdd92eab6.tar.gz
build: delete unused feature guards
- `HAVE_STRNCASECMP` - `HAVE_TCGETATTR` - `HAVE_TCSETATTR` Reviewed-by: Jay Satiro Reviewed-by: Daniel Stenberg Closes #6645
Diffstat (limited to 'lib')
-rw-r--r--lib/config-os400.h8
-rw-r--r--lib/config-plan9.h3
-rw-r--r--lib/config-riscos.h8
-rw-r--r--lib/config-vxworks.h5
-rw-r--r--lib/config-win32.h9
-rw-r--r--lib/config-win32ce.h11
-rw-r--r--lib/curl_config.h.cmake3
7 files changed, 5 insertions, 42 deletions
diff --git a/lib/config-os400.h b/lib/config-os400.h
index b8676113d..67fbc41d8 100644
--- a/lib/config-os400.h
+++ b/lib/config-os400.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -352,12 +352,6 @@
/* Define if you have the <sys/ioctl.h> header file. */
#define HAVE_SYS_IOCTL_H
-/* Define if you have the `tcgetattr' function. */
-#undef HAVE_TCGETATTR
-
-/* Define if you have the `tcsetattr' function. */
-#undef HAVE_TCSETATTR
-
/* Define if you have the <termios.h> header file. */
#undef HAVE_TERMIOS_H
diff --git a/lib/config-plan9.h b/lib/config-plan9.h
index cc8adde72..f33d3f66b 100644
--- a/lib/config-plan9.h
+++ b/lib/config-plan9.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -173,7 +173,6 @@
#define HAVE_STRCASECMP 1
#define HAVE_STRDUP 1
#define HAVE_STRING_H 1
-#define HAVE_STRNCASECMP 1
#define HAVE_STRSTR 1
#define HAVE_STRTOK_R 1
#define HAVE_STRTOLL 1
diff --git a/lib/config-riscos.h b/lib/config-riscos.h
index 9b5f8da92..43b1deb6d 100644
--- a/lib/config-riscos.h
+++ b/lib/config-riscos.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -329,12 +329,6 @@
/* Define if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H
-/* Define if you have the `tcgetattr' function. */
-#define HAVE_TCGETATTR
-
-/* Define if you have the `tcsetattr' function. */
-#define HAVE_TCSETATTR
-
/* Define if you have the <termios.h> header file. */
#define HAVE_TERMIOS_H
diff --git a/lib/config-vxworks.h b/lib/config-vxworks.h
index 73edd530b..8ae8ab10b 100644
--- a/lib/config-vxworks.h
+++ b/lib/config-vxworks.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -568,9 +568,6 @@
/* Define to 1 if you have the `strlcpy' function. */
/* #undef HAVE_STRLCPY */
-/* Define to 1 if you have the strncasecmp function. */
-#define HAVE_STRNCASECMP 1
-
/* Define to 1 if you have the strncmpi function. */
/* #undef HAVE_STRNCMPI */
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 3f8b78a2b..a464fbf5a 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -258,9 +258,6 @@
/* Define if you have the stricmp function. */
#define HAVE_STRICMP 1
-/* Define if you have the strncasecmp function. */
-/* #define HAVE_STRNCASECMP 1 */
-
/* Define if you have the strnicmp function. */
#define HAVE_STRNICMP 1
@@ -273,12 +270,6 @@
#define HAVE_STRTOLL 1
#endif
-/* Define if you have the tcgetattr function. */
-/* #define HAVE_TCGETATTR 1 */
-
-/* Define if you have the tcsetattr function. */
-/* #define HAVE_TCSETATTR 1 */
-
/* Define if you have the utime function. */
#ifndef __BORLANDC__
#define HAVE_UTIME 1
diff --git a/lib/config-win32ce.h b/lib/config-win32ce.h
index 906083694..7f59fd562 100644
--- a/lib/config-win32ce.h
+++ b/lib/config-win32ce.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -205,9 +205,6 @@
/* Define if you have the stricmp function. */
/* #define HAVE_STRICMP 1 */
-/* Define if you have the strncasecmp function. */
-/* #define HAVE_STRNCASECMP 1 */
-
/* Define if you have the strnicmp function. */
/* #define HAVE_STRNICMP 1 */
@@ -219,12 +216,6 @@
#define HAVE_STRTOLL 1
#endif
-/* Define if you have the tcgetattr function. */
-/* #define HAVE_TCGETATTR 1 */
-
-/* Define if you have the tcsetattr function. */
-/* #define HAVE_TCSETATTR 1 */
-
/* Define if you have the utime function */
#define HAVE_UTIME 1
diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake
index 4c61a02c6..744406711 100644
--- a/lib/curl_config.h.cmake
+++ b/lib/curl_config.h.cmake
@@ -659,9 +659,6 @@
/* Define to 1 if you have the `strlcpy' function. */
#cmakedefine HAVE_STRLCPY 1
-/* Define to 1 if you have the strncasecmp function. */
-#cmakedefine HAVE_STRNCASECMP 1
-
/* Define to 1 if you have the strncmpi function. */
#cmakedefine HAVE_STRNCMPI 1