Module Name: src
Committed By: kamil
Date: Fri Jun 30 02:02:41 UTC 2017
Modified Files:
src/bin/ksh: config.h
Log Message:
ksh: Drop support for OSes without POSIX types
Assume available: mode_t, off_t, pid_t, uid_t, rlim_t, sigset_t.
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/bin/ksh/config.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/ksh/config.h
diff -u src/bin/ksh/config.h:1.40 src/bin/ksh/config.h:1.41
--- src/bin/ksh/config.h:1.40 Fri Jun 30 01:56:34 2017
+++ src/bin/ksh/config.h Fri Jun 30 02:02:41 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: config.h,v 1.40 2017/06/30 01:56:34 kamil Exp $ */
+/* $NetBSD: config.h,v 1.41 2017/06/30 02:02:41 kamil Exp $ */
/* config.h. Generated automatically by configure. */
/* config.h.in. Generated automatically from configure.in by autoheader. */
@@ -17,15 +17,6 @@
/* Define if on MINIX. */
/* #undef _MINIX */
-/* Define to `int' if <sys/types.h> doesn't define. */
-/* #undef mode_t */
-
-/* Define to `long' if <sys/types.h> doesn't define. */
-/* #undef off_t */
-
-/* Define to `int' if <sys/types.h> doesn't define. */
-/* #undef pid_t */
-
/* Define if the system does not provide POSIX.1 features except
with this defined. */
/* #undef _POSIX_1_SOURCE */
@@ -45,9 +36,6 @@
/* Define if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1
-/* Define to `int' if <sys/types.h> doesn't define. */
-/* #undef uid_t */
-
/* Define if your kernel doesn't handle scripts starting with #! */
/* #undef SHARPBANG */
@@ -81,15 +69,9 @@
/* Define if C compiler groks __attribute__((...)) (const, noreturn, format) */
#define HAVE_GCC_FUNC_ATTR 1
-/* Define to the type of struct rlimit fields if the rlim_t type is missing */
-/* #undef rlim_t */
-
/* Define if time() is declared in <time.h> */
#define TIME_DECLARED 1
-/* Define to `unsigned' if <signal.h> doesn't define */
-/* #undef sigset_t */
-
/* Define if sys_errlist[] and sys_nerr are in the C library */
#define HAVE_SYS_ERRLIST 1