summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-08-25 10:58:58 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-08-25 10:58:58 +0200
commitb2ed712d26ecdf9930e9725ebc6020eb995f2a20 (patch)
treed6931fd08059248b45f7f668725ffef13f707f24 /cpukit
parent80a13ec48d7071e203131d4581219acc7de4768b (diff)
downloadrtems-b2ed712d26ecdf9930e9725ebc6020eb995f2a20.tar.bz2
Include missing <string.h>
Update #2133.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/dev/i2c/ti-lm25066a.c1
-rw-r--r--cpukit/include/rtems/printer.h1
-rw-r--r--cpukit/libcsupport/src/cfmakesane.c1
-rw-r--r--cpukit/libcsupport/src/chroot.c1
-rw-r--r--cpukit/libcsupport/src/fchmod.c1
-rw-r--r--cpukit/libcsupport/src/fchown.c1
-rw-r--r--cpukit/libcsupport/src/termios.c1
-rw-r--r--cpukit/libdl/rtl-allocator.c1
-rw-r--r--cpukit/libdl/rtl-error.c1
-rw-r--r--cpukit/libdl/rtl-find-file.c1
-rw-r--r--cpukit/libdl/rtl-mdreloc-arm.c1
-rw-r--r--cpukit/libdl/rtl-obj.c1
-rw-r--r--cpukit/libdl/rtl-sym.c1
-rw-r--r--cpukit/libdl/rtl-unresolved.c1
-rw-r--r--cpukit/libfs/src/imfs/imfs_linfile.c2
-rw-r--r--cpukit/libmisc/dummy/default-configuration.c1
-rw-r--r--cpukit/libmisc/redirector/stdio-redirect.c1
-rw-r--r--cpukit/libmisc/rtems-fdt/rtems-fdt-shell.c1
-rw-r--r--cpukit/libmisc/shell/main_md5.c1
-rw-r--r--cpukit/libmisc/shell/main_rtrace.c1
-rw-r--r--cpukit/libmisc/untar/untar_tgz.c2
-rw-r--r--cpukit/libpci/pci_cfg_print_code.c1
-rw-r--r--cpukit/librpc/src/rpc/get_myaddress.c1
-rw-r--r--cpukit/posix/src/mmap.c1
-rw-r--r--cpukit/posix/src/shmheap.c1
-rw-r--r--cpukit/posix/src/shmwkspace.c1
-rw-r--r--cpukit/score/src/threadq.c2
27 files changed, 30 insertions, 0 deletions
diff --git a/cpukit/dev/i2c/ti-lm25066a.c b/cpukit/dev/i2c/ti-lm25066a.c
index 3f8c32ff56..5864470c17 100644
--- a/cpukit/dev/i2c/ti-lm25066a.c
+++ b/cpukit/dev/i2c/ti-lm25066a.c
@@ -12,6 +12,7 @@
#endif
#include <stdio.h>
+#include <string.h>
#include <dev/i2c/i2c.h>
#include <dev/i2c/ti-lm25066a.h>
diff --git a/cpukit/include/rtems/printer.h b/cpukit/include/rtems/printer.h
index 28b0b259f5..c18600bbe3 100644
--- a/cpukit/include/rtems/printer.h
+++ b/cpukit/include/rtems/printer.h
@@ -24,6 +24,7 @@
#include <rtems/rtems/tasks.h>
#include <stdio.h>
+#include <string.h>
#ifdef __cplusplus
extern "C" {
diff --git a/cpukit/libcsupport/src/cfmakesane.c b/cpukit/libcsupport/src/cfmakesane.c
index e44fd6af42..486e2f98a1 100644
--- a/cpukit/libcsupport/src/cfmakesane.c
+++ b/cpukit/libcsupport/src/cfmakesane.c
@@ -43,6 +43,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
+#include <string.h>
#define TTYDEFCHARS
#include <termios.h>
diff --git a/cpukit/libcsupport/src/chroot.c b/cpukit/libcsupport/src/chroot.c
index 0c498e6a6f..8dbf403b3e 100644
--- a/cpukit/libcsupport/src/chroot.c
+++ b/cpukit/libcsupport/src/chroot.c
@@ -23,6 +23,7 @@
#include "config.h"
#endif
+#include <string.h>
#include <unistd.h>
#include <rtems/libio_.h>
diff --git a/cpukit/libcsupport/src/fchmod.c b/cpukit/libcsupport/src/fchmod.c
index c74557588b..1a9122c9bb 100644
--- a/cpukit/libcsupport/src/fchmod.c
+++ b/cpukit/libcsupport/src/fchmod.c
@@ -19,6 +19,7 @@
#endif
#include <sys/stat.h>
+#include <string.h>
#include <rtems/libio_.h>
diff --git a/cpukit/libcsupport/src/fchown.c b/cpukit/libcsupport/src/fchown.c
index 39463a8b40..10cd4bce4f 100644
--- a/cpukit/libcsupport/src/fchown.c
+++ b/cpukit/libcsupport/src/fchown.c
@@ -18,6 +18,7 @@
#include "config.h"
#endif
+#include <string.h>
#include <unistd.h>
#include <rtems/libio_.h>
diff --git a/cpukit/libcsupport/src/termios.c b/cpukit/libcsupport/src/termios.c
index 6db458f672..c454e18470 100644
--- a/cpukit/libcsupport/src/termios.c
+++ b/cpukit/libcsupport/src/termios.c
@@ -28,6 +28,7 @@
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <termios.h>
#include <unistd.h>
#include <sys/fcntl.h>
diff --git a/cpukit/libdl/rtl-allocator.c b/cpukit/libdl/rtl-allocator.c
index 39b4bcd1d0..9c5a20407b 100644
--- a/cpukit/libdl/rtl-allocator.c
+++ b/cpukit/libdl/rtl-allocator.c
@@ -14,6 +14,7 @@
*/
#include <stdio.h>
+#include <string.h>
#include <rtems/rtl/rtl.h>
#include "rtl-alloc-heap.h"
diff --git a/cpukit/libdl/rtl-error.c b/cpukit/libdl/rtl-error.c
index 5ec4b26ef7..449beb5141 100644
--- a/cpukit/libdl/rtl-error.c
+++ b/cpukit/libdl/rtl-error.c
@@ -19,6 +19,7 @@
#include <errno.h>
#include <stdio.h>
+#include <string.h>
#include <stdarg.h>
#include <rtems/rtl/rtl.h>
diff --git a/cpukit/libdl/rtl-find-file.c b/cpukit/libdl/rtl-find-file.c
index 83ee647f11..e4eefd6f6a 100644
--- a/cpukit/libdl/rtl-find-file.c
+++ b/cpukit/libdl/rtl-find-file.c
@@ -22,6 +22,7 @@
#include <inttypes.h>
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <unistd.h>
#include <rtems/libio_.h>
diff --git a/cpukit/libdl/rtl-mdreloc-arm.c b/cpukit/libdl/rtl-mdreloc-arm.c
index f2f91f171c..d86cde1f9e 100644
--- a/cpukit/libdl/rtl-mdreloc-arm.c
+++ b/cpukit/libdl/rtl-mdreloc-arm.c
@@ -8,6 +8,7 @@
#include <errno.h>
#include <stdio.h>
+#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unwind.h>
diff --git a/cpukit/libdl/rtl-obj.c b/cpukit/libdl/rtl-obj.c
index bb0bc8d543..8b2d2b83c0 100644
--- a/cpukit/libdl/rtl-obj.c
+++ b/cpukit/libdl/rtl-obj.c
@@ -21,6 +21,7 @@
#include <inttypes.h>
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <rtems/libio_.h>
diff --git a/cpukit/libdl/rtl-sym.c b/cpukit/libdl/rtl-sym.c
index 1436cc0784..2bda78d7a4 100644
--- a/cpukit/libdl/rtl-sym.c
+++ b/cpukit/libdl/rtl-sym.c
@@ -21,6 +21,7 @@
#include <inttypes.h>
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <rtems/rtl/rtl.h>
#include "rtl-error.h"
diff --git a/cpukit/libdl/rtl-unresolved.c b/cpukit/libdl/rtl-unresolved.c
index 4deb1a3a4c..0bcc5f9cb5 100644
--- a/cpukit/libdl/rtl-unresolved.c
+++ b/cpukit/libdl/rtl-unresolved.c
@@ -21,6 +21,7 @@
#include <inttypes.h>
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <rtems/rtl/rtl.h>
#include "rtl-error.h"
diff --git a/cpukit/libfs/src/imfs/imfs_linfile.c b/cpukit/libfs/src/imfs/imfs_linfile.c
index 57e106d85a..80a77c3ef8 100644
--- a/cpukit/libfs/src/imfs/imfs_linfile.c
+++ b/cpukit/libfs/src/imfs/imfs_linfile.c
@@ -17,6 +17,8 @@
#include "config.h"
#endif
+#include <string.h>
+
#include "imfs.h"
static ssize_t IMFS_linfile_read(
diff --git a/cpukit/libmisc/dummy/default-configuration.c b/cpukit/libmisc/dummy/default-configuration.c
index 5b6da0402f..414e92b76f 100644
--- a/cpukit/libmisc/dummy/default-configuration.c
+++ b/cpukit/libmisc/dummy/default-configuration.c
@@ -14,6 +14,7 @@
#endif
#include <stdlib.h>
+#include <string.h>
#include <rtems.h>
diff --git a/cpukit/libmisc/redirector/stdio-redirect.c b/cpukit/libmisc/redirector/stdio-redirect.c
index 6895055491..5911a0b2a4 100644
--- a/cpukit/libmisc/redirector/stdio-redirect.c
+++ b/cpukit/libmisc/redirector/stdio-redirect.c
@@ -14,6 +14,7 @@
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <strings.h>
#include <sys/types.h>
#include <unistd.h>
diff --git a/cpukit/libmisc/rtems-fdt/rtems-fdt-shell.c b/cpukit/libmisc/rtems-fdt/rtems-fdt-shell.c
index 9412b37750..f2c4c10613 100644
--- a/cpukit/libmisc/rtems-fdt/rtems-fdt-shell.c
+++ b/cpukit/libmisc/rtems-fdt/rtems-fdt-shell.c
@@ -19,6 +19,7 @@
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <time.h>
#include <unistd.h>
diff --git a/cpukit/libmisc/shell/main_md5.c b/cpukit/libmisc/shell/main_md5.c
index ab1b11eeb6..772e0b99b7 100644
--- a/cpukit/libmisc/shell/main_md5.c
+++ b/cpukit/libmisc/shell/main_md5.c
@@ -14,6 +14,7 @@
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <sys/types.h>
#include <unistd.h>
diff --git a/cpukit/libmisc/shell/main_rtrace.c b/cpukit/libmisc/shell/main_rtrace.c
index f1b8a59821..753ab9dd34 100644
--- a/cpukit/libmisc/shell/main_rtrace.c
+++ b/cpukit/libmisc/shell/main_rtrace.c
@@ -12,6 +12,7 @@
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <sys/types.h>
#include <time.h>
#include <unistd.h>
diff --git a/cpukit/libmisc/untar/untar_tgz.c b/cpukit/libmisc/untar/untar_tgz.c
index 63ab5d3447..2afcc7f92e 100644
--- a/cpukit/libmisc/untar/untar_tgz.c
+++ b/cpukit/libmisc/untar/untar_tgz.c
@@ -16,6 +16,8 @@
#include "config.h"
#endif
+#include <string.h>
+
#include <rtems/untar.h>
int Untar_GzChunkContext_Init(
diff --git a/cpukit/libpci/pci_cfg_print_code.c b/cpukit/libpci/pci_cfg_print_code.c
index 1d1d9c4f91..a921f00529 100644
--- a/cpukit/libpci/pci_cfg_print_code.c
+++ b/cpukit/libpci/pci_cfg_print_code.c
@@ -10,6 +10,7 @@
#include <rtems.h>
#include <stdio.h>
+#include <string.h>
#include <pci/cfg.h>
int pci_cfg_print_bus(struct pci_bus *bus);
diff --git a/cpukit/librpc/src/rpc/get_myaddress.c b/cpukit/librpc/src/rpc/get_myaddress.c
index a70c383d2e..2dae64cdcf 100644
--- a/cpukit/librpc/src/rpc/get_myaddress.c
+++ b/cpukit/librpc/src/rpc/get_myaddress.c
@@ -50,6 +50,7 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/get_myaddress.c,v 1.17 2000/01/
#include <sys/socket.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
#include <net/if.h>
#include <sys/ioctl.h>
diff --git a/cpukit/posix/src/mmap.c b/cpukit/posix/src/mmap.c
index 8f47d3b6d5..b5af180d3d 100644
--- a/cpukit/posix/src/mmap.c
+++ b/cpukit/posix/src/mmap.c
@@ -19,6 +19,7 @@
#include <rtems.h>
#include <errno.h>
#include <stdlib.h>
+#include <string.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/cpukit/posix/src/shmheap.c b/cpukit/posix/src/shmheap.c
index b36fc28b4b..6e8e53d568 100644
--- a/cpukit/posix/src/shmheap.c
+++ b/cpukit/posix/src/shmheap.c
@@ -16,6 +16,7 @@
#include <errno.h>
#include <stdlib.h>
+#include <string.h>
#include <rtems/posix/shmimpl.h>
int _POSIX_Shm_Object_create_from_heap(
diff --git a/cpukit/posix/src/shmwkspace.c b/cpukit/posix/src/shmwkspace.c
index cfe4d01e59..94456e2c5c 100644
--- a/cpukit/posix/src/shmwkspace.c
+++ b/cpukit/posix/src/shmwkspace.c
@@ -15,6 +15,7 @@
#endif
#include <errno.h>
+#include <string.h>
#include <rtems/score/wkspace.h>
#include <rtems/posix/shmimpl.h>
diff --git a/cpukit/score/src/threadq.c b/cpukit/score/src/threadq.c
index 850ec6f07b..8991a3a182 100644
--- a/cpukit/score/src/threadq.c
+++ b/cpukit/score/src/threadq.c
@@ -18,6 +18,8 @@
#include "config.h"
#endif
+#include <string.h>
+
#include <rtems/score/threadqimpl.h>
#include <rtems/score/rbtreeimpl.h>
#include <rtems/score/threadimpl.h>