Skip to content

Commit 125635e

Browse files
committed
[CMake] Remove unused HAVE_SYS_PARAM_H/HAVE_SYS_TYPES_H
1 parent fd21b79 commit 125635e

File tree

5 files changed

+0
-23
lines changed

5 files changed

+0
-23
lines changed

llvm/cmake/config-ix.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,9 @@ endif()
5151
check_include_file(signal.h HAVE_SIGNAL_H)
5252
check_include_file(sys/ioctl.h HAVE_SYS_IOCTL_H)
5353
check_include_file(sys/mman.h HAVE_SYS_MMAN_H)
54-
check_include_file(sys/param.h HAVE_SYS_PARAM_H)
5554
check_include_file(sys/resource.h HAVE_SYS_RESOURCE_H)
5655
check_include_file(sys/stat.h HAVE_SYS_STAT_H)
5756
check_include_file(sys/time.h HAVE_SYS_TIME_H)
58-
check_include_file(sys/types.h HAVE_SYS_TYPES_H)
5957
check_include_file(sysexits.h HAVE_SYSEXITS_H)
6058
check_include_file(termios.h HAVE_TERMIOS_H)
6159
check_include_file(unistd.h HAVE_UNISTD_H)

llvm/include/llvm/Config/config.h.cmake

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,6 @@
191191
/* Define to 1 if you have the <sys/mman.h> header file. */
192192
#cmakedefine HAVE_SYS_MMAN_H ${HAVE_SYS_MMAN_H}
193193

194-
/* Define to 1 if you have the <sys/param.h> header file. */
195-
#cmakedefine HAVE_SYS_PARAM_H ${HAVE_SYS_PARAM_H}
196-
197194
/* Define to 1 if you have the <sys/resource.h> header file. */
198195
#cmakedefine HAVE_SYS_RESOURCE_H ${HAVE_SYS_RESOURCE_H}
199196

@@ -209,9 +206,6 @@
209206
/* Define to 1 if stat struct has st_mtim member. */
210207
#cmakedefine HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC ${HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC}
211208

212-
/* Define to 1 if you have the <sys/types.h> header file. */
213-
#cmakedefine HAVE_SYS_TYPES_H ${HAVE_SYS_TYPES_H}
214-
215209
/* Define to 1 if you have the <termios.h> header file. */
216210
#cmakedefine HAVE_TERMIOS_H ${HAVE_TERMIOS_H}
217211

llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ write_cmake_config("config") {
101101
"HAVE_PTHREAD_SET_NAME_NP=",
102102
"HAVE_SIGNAL_H=1",
103103
"HAVE_SYS_STAT_H=1",
104-
"HAVE_SYS_TYPES_H=1",
105104
"HAVE_VALGRIND_VALGRIND_H=",
106105
"HAVE__ALLOCA=",
107106
"HAVE___ALLOCA=",
@@ -228,7 +227,6 @@ write_cmake_config("config") {
228227
"HAVE_SYSCONF=",
229228
"HAVE_SYS_IOCTL_H=",
230229
"HAVE_SYS_MMAN_H=",
231-
"HAVE_SYS_PARAM_H=",
232230
"HAVE_SYS_RESOURCE_H=",
233231
"HAVE_SYS_TIME_H=",
234232
"HAVE_TERMIOS_H=",
@@ -264,7 +262,6 @@ write_cmake_config("config") {
264262
"HAVE_SYSCONF=1",
265263
"HAVE_SYS_IOCTL_H=1",
266264
"HAVE_SYS_MMAN_H=1",
267-
"HAVE_SYS_PARAM_H=1",
268265
"HAVE_SYS_RESOURCE_H=1",
269266
"HAVE_SYS_TIME_H=1",
270267
"HAVE_TERMIOS_H=1",

utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,6 @@
198198
/* Define to 1 if you have the <sys/mman.h> header file. */
199199
#define HAVE_SYS_MMAN_H 1
200200

201-
/* Define to 1 if you have the <sys/param.h> header file. */
202-
#define HAVE_SYS_PARAM_H 1
203-
204201
/* Define to 1 if you have the <sys/resource.h> header file. */
205202
#define HAVE_SYS_RESOURCE_H 1
206203

@@ -216,9 +213,6 @@
216213
/* Define to 1 if stat struct has st_mtim member. */
217214
/* HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC defined in Bazel */
218215

219-
/* Define to 1 if you have the <sys/types.h> header file. */
220-
#define HAVE_SYS_TYPES_H 1
221-
222216
/* Define to 1 if you have the <termios.h> header file. */
223217
#define HAVE_TERMIOS_H 1
224218

utils/bazel/llvm_configs/config.h.cmake

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,6 @@
191191
/* Define to 1 if you have the <sys/mman.h> header file. */
192192
#cmakedefine HAVE_SYS_MMAN_H ${HAVE_SYS_MMAN_H}
193193

194-
/* Define to 1 if you have the <sys/param.h> header file. */
195-
#cmakedefine HAVE_SYS_PARAM_H ${HAVE_SYS_PARAM_H}
196-
197194
/* Define to 1 if you have the <sys/resource.h> header file. */
198195
#cmakedefine HAVE_SYS_RESOURCE_H ${HAVE_SYS_RESOURCE_H}
199196

@@ -209,9 +206,6 @@
209206
/* Define to 1 if stat struct has st_mtim member. */
210207
#cmakedefine HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC ${HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC}
211208

212-
/* Define to 1 if you have the <sys/types.h> header file. */
213-
#cmakedefine HAVE_SYS_TYPES_H ${HAVE_SYS_TYPES_H}
214-
215209
/* Define to 1 if you have the <termios.h> header file. */
216210
#cmakedefine HAVE_TERMIOS_H ${HAVE_TERMIOS_H}
217211

0 commit comments

Comments
 (0)