Include missing <string.h>

Update #2133.
This commit is contained in:
Sebastian Huber
2017-08-25 10:58:58 +02:00
parent 80a13ec48d
commit b2ed712d26
58 changed files with 67 additions and 0 deletions
@@ -29,6 +29,7 @@
#include <rtems/score/todimpl.h>
#include <sys/filio.h>
#include <fcntl.h>
#include <string.h>
#include <unistd.h>
#include <bsp/i2cdrv.h>
@@ -32,6 +32,8 @@
#include <dev/spi/spi.h>
#include <string.h>
#define MAX_SPI_FREQUENCY 50000000
typedef struct {
+1
View File
@@ -22,6 +22,7 @@
#include <bsp/can.h>
#include <bsp/can-defs.h>
#include <bsp/mbed-pinmap.h>
#include <string.h>
/**
* @brief The standard isr to be installed for all the can devices.
@@ -21,6 +21,8 @@
#include <bsp/nand-mlc.h>
#include <string.h>
static rtems_status_code read_page(
uint32_t first_page_of_block,
uint32_t page,
@@ -22,6 +22,8 @@
#include <bsp/nand-mlc.h>
#include <string.h>
static const uint32_t ones_spare [MLC_LARGE_SPARE_WORD_COUNT] = {
0xffffffff,
0xffffffff,
@@ -20,6 +20,7 @@
#include <bsp/fatal.h>
#include <rtems/libio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <termios.h>
@@ -20,6 +20,8 @@
#ifndef LIBBSP_ARM_RASPBERRYPI_VC_DEFINES_H
#define LIBBSP_ARM_RASPBERRYPI_VC_DEFINES_H
#include <string.h>
/**
* @defgroup raspberrypi_vc Register Definitions
*
@@ -18,6 +18,8 @@
#include <bsp.h>
#include <bsp/vc.h>
#include <string.h>
#define MAX_CMDLINE_LENGTH 1024
static int rpi_cmdline_ready = -1;
static char rpi_cmdline_cached[MAX_CMDLINE_LENGTH] = "force .data placement";
@@ -15,6 +15,7 @@
#include <errno.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <rtems/framebuffer.h>
#include <rtems/fb.h>
@@ -12,6 +12,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#include <string.h>
#include <rtems/score/armv7m.h>
#include <bsp.h>
@@ -26,6 +26,7 @@
#include <rtems/bspIo.h>
#include <rtems/sysinit.h>
#include <stdint.h>
#include <string.h>
#include <bsp/tms570-sci.h>
#include <bsp/tms570-sci-driver.h>
@@ -20,6 +20,7 @@
*/
#include <stdint.h>
#include <string.h>
#include <bsp/tms570-pom.h>
#include <bsp/linker-symbols.h>
#include <rtems/score/armv4.h>
@@ -14,6 +14,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <rtems.h>
@@ -13,6 +13,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <rtems.h>
#include <rtems/status-checks.h>
@@ -17,6 +17,7 @@
#include <rtems.h>
#include <bsp.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <rtems/error.h>
#include <rtems/rtems_bsdnet.h>
+1
View File
@@ -20,6 +20,7 @@
#include <rtems/libio.h>
#include <rtems/console.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <termios.h>
@@ -30,6 +30,7 @@
#include <bsp/fatal.h>
#include <bsp/apbuart_termios.h>
#include <rtems/console.h>
#include <string.h>
/* The LEON3 BSP UART driver can rely on the Driver Manager if the
* DrvMgr is initialized during startup. Otherwise the classic driver
@@ -9,6 +9,7 @@
*/
#include <stdint.h>
#include <string.h>
#include <rtems.h>
#include <rtems/bspIo.h>
#include <drvmgr/drvmgr.h>
@@ -11,6 +11,7 @@
#include <rtems.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <drvmgr/drvmgr.h>
#include <drvmgr/ambapp_bus.h>
#include <bsp/gradcdac.h>
@@ -20,6 +20,7 @@
#ifdef LEON2
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <libcpu/access.h>
#include <drvmgr/drvmgr.h>
#include <drvmgr/ambapp_bus.h>
@@ -14,6 +14,7 @@
#include <bsp.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ambapp.h>
#include <rtems/libi2c.h>
#include <drvmgr/drvmgr.h>
@@ -10,6 +10,7 @@
*/
#include <stdlib.h>
#include <string.h>
#include <drvmgr/drvmgr.h>
#include <drvmgr/ambapp_bus.h>
#include <ambapp.h>
+1
View File
@@ -10,6 +10,7 @@
*/
#include <stdlib.h>
#include <string.h>
#include <drvmgr/drvmgr.h>
#include <drvmgr/ambapp_bus.h>
#include <ambapp.h>
@@ -10,6 +10,7 @@
*/
#include <stdlib.h>
#include <string.h>
#include <stddef.h>
#include <drvmgr/drvmgr.h>
#include <rtems.h>
@@ -11,6 +11,7 @@
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <rtems/bspIo.h>
#include <drvmgr/drvmgr.h>
#include <drvmgr/ambapp_bus.h>
@@ -11,6 +11,7 @@
#include <drvmgr/drvmgr.h>
#include <drvmgr/ambapp_bus.h>
#include <stdlib.h>
#include <string.h>
#include <bsp/grctm.h>
@@ -12,6 +12,7 @@
#include <drvmgr/drvmgr.h>
#include <drvmgr/ambapp_bus.h>
#include <stdlib.h>
#include <string.h>
#include <bsp/spwcuc.h>
@@ -34,6 +34,7 @@
#include <rtems.h>
#include <bsp.h>
#include <stdlib.h>
#include <string.h>
#include <drvmgr/drvmgr.h>
#include <drvmgr/ambapp_bus.h>
#include <grlib.h>
@@ -41,6 +41,7 @@
#include <bsp.h>
#include <rtems/bspIo.h>
#include <inttypes.h>
#include <string.h>
#include <boot/main.h>
#include <boot/balloc.h>
@@ -27,6 +27,7 @@
#include <bsp.h>
#include <libcpu/cecRegs.h>
#include <libcpu/sicRegs.h>
#include <string.h>
#include "interrupt.h"
#define SIC_IAR_COUNT_SET0 4
@@ -15,6 +15,7 @@
#include <bsp.h>
#include <libcpu/cecRegs.h>
#include <libcpu/sicRegs.h>
#include <string.h>
#include "interrupt.h"
+1
View File
@@ -12,6 +12,7 @@
#endif
#include <stdio.h>
#include <string.h>
#include <dev/i2c/i2c.h>
#include <dev/i2c/ti-lm25066a.h>
+1
View File
@@ -24,6 +24,7 @@
#include <rtems/rtems/tasks.h>
#include <stdio.h>
#include <string.h>
#ifdef __cplusplus
extern "C" {
+1
View File
@@ -43,6 +43,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <string.h>
#define TTYDEFCHARS
#include <termios.h>
+1
View File
@@ -23,6 +23,7 @@
#include "config.h"
#endif
#include <string.h>
#include <unistd.h>
#include <rtems/libio_.h>
+1
View File
@@ -19,6 +19,7 @@
#endif
#include <sys/stat.h>
#include <string.h>
#include <rtems/libio_.h>
+1
View File
@@ -18,6 +18,7 @@
#include "config.h"
#endif
#include <string.h>
#include <unistd.h>
#include <rtems/libio_.h>
+1
View File
@@ -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>
+1
View File
@@ -14,6 +14,7 @@
*/
#include <stdio.h>
#include <string.h>
#include <rtems/rtl/rtl.h>
#include "rtl-alloc-heap.h"
+1
View File
@@ -19,6 +19,7 @@
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <rtems/rtl/rtl.h>
+1
View File
@@ -22,6 +22,7 @@
#include <inttypes.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <rtems/libio_.h>
+1
View File
@@ -8,6 +8,7 @@
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unwind.h>
+1
View File
@@ -21,6 +21,7 @@
#include <inttypes.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <rtems/libio_.h>
+1
View File
@@ -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"
+1
View File
@@ -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"
+2
View File
@@ -17,6 +17,8 @@
#include "config.h"
#endif
#include <string.h>
#include "imfs.h"
static ssize_t IMFS_linfile_read(
@@ -14,6 +14,7 @@
#endif
#include <stdlib.h>
#include <string.h>
#include <rtems.h>
@@ -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>
@@ -19,6 +19,7 @@
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
+1
View File
@@ -14,6 +14,7 @@
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>

Some files were not shown because too many files have changed in this diff Show More