Hi tech@,
This diff removes duplicated includes in stdlib.h and termios.h
Comments? OK?
Index: include/stdlib.h
===================================================================
RCS file: /cvs/src/include/stdlib.h,v
retrieving revision 1.66
diff -u -p -r1.66 stdlib.h
--- include/stdlib.h 9 Sep 2016 18:12:37 -0000 1.66
+++ include/stdlib.h 16 Sep 2016 22:23:11 -0000
@@ -85,8 +85,6 @@ typedef struct {
extern size_t __mb_cur_max;
#define MB_CUR_MAX __mb_cur_max
-#include <sys/cdefs.h>
-
/*
* Some header files may define an abs macro.
* If defined, undef it to prevent a syntax error and issue a warning.
Index: sys/sys/termios.h
===================================================================
RCS file: /cvs/src/sys/sys/termios.h,v
retrieving revision 1.12
diff -u -p -r1.12 termios.h
--- sys/sys/termios.h 17 Dec 2013 22:12:07 -0000 1.12
+++ sys/sys/termios.h 16 Sep 2016 22:23:12 -0000
@@ -247,7 +247,6 @@ struct termios {
#define TCIOFF 3
#define TCION 4
-#include <sys/cdefs.h>
#include <sys/_types.h>
#if __XPG_VISIBLE >= 420 || __POSIX_VISIBLE >= 200809