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

View File

@@ -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>

View File

@@ -32,6 +32,8 @@
#include <dev/spi/spi.h>
#include <string.h>
#define MAX_SPI_FREQUENCY 50000000
typedef struct {

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.

View File

@@ -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,

View File

@@ -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,

View File

@@ -20,6 +20,7 @@
#include <bsp/fatal.h>
#include <rtems/libio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <termios.h>

View File

@@ -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
*

View File

@@ -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";

View File

@@ -15,6 +15,7 @@
#include <errno.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <rtems/framebuffer.h>
#include <rtems/fb.h>

View File

@@ -12,6 +12,8 @@
* http://www.rtems.org/license/LICENSE.
*/
#include <string.h>
#include <rtems/score/armv7m.h>
#include <bsp.h>

View File

@@ -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>

View File

@@ -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>

View File

@@ -14,6 +14,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <rtems.h>

View File

@@ -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>

View File

@@ -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>

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>

View File

@@ -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

View File

@@ -9,6 +9,7 @@
*/
#include <stdint.h>
#include <string.h>
#include <rtems.h>
#include <rtems/bspIo.h>
#include <drvmgr/drvmgr.h>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -10,6 +10,7 @@
*/
#include <stdlib.h>
#include <string.h>
#include <drvmgr/drvmgr.h>
#include <drvmgr/ambapp_bus.h>
#include <ambapp.h>

View File

@@ -10,6 +10,7 @@
*/
#include <stdlib.h>
#include <string.h>
#include <drvmgr/drvmgr.h>
#include <drvmgr/ambapp_bus.h>
#include <ambapp.h>

View File

@@ -10,6 +10,7 @@
*/
#include <stdlib.h>
#include <string.h>
#include <stddef.h>
#include <drvmgr/drvmgr.h>
#include <rtems.h>

View File

@@ -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>

View File

@@ -11,6 +11,7 @@
#include <drvmgr/drvmgr.h>
#include <drvmgr/ambapp_bus.h>
#include <stdlib.h>
#include <string.h>
#include <bsp/grctm.h>

View File

@@ -12,6 +12,7 @@
#include <drvmgr/drvmgr.h>
#include <drvmgr/ambapp_bus.h>
#include <stdlib.h>
#include <string.h>
#include <bsp/spwcuc.h>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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

View File

@@ -15,6 +15,7 @@
#include <bsp.h>
#include <libcpu/cecRegs.h>
#include <libcpu/sicRegs.h>
#include <string.h>
#include "interrupt.h"

View File

@@ -12,6 +12,7 @@
#endif
#include <stdio.h>
#include <string.h>
#include <dev/i2c/i2c.h>
#include <dev/i2c/ti-lm25066a.h>

View File

@@ -24,6 +24,7 @@
#include <rtems/rtems/tasks.h>
#include <stdio.h>
#include <string.h>
#ifdef __cplusplus
extern "C" {

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>

View File

@@ -23,6 +23,7 @@
#include "config.h"
#endif
#include <string.h>
#include <unistd.h>
#include <rtems/libio_.h>

View File

@@ -19,6 +19,7 @@
#endif
#include <sys/stat.h>
#include <string.h>
#include <rtems/libio_.h>

View File

@@ -18,6 +18,7 @@
#include "config.h"
#endif
#include <string.h>
#include <unistd.h>
#include <rtems/libio_.h>

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>

View File

@@ -14,6 +14,7 @@
*/
#include <stdio.h>
#include <string.h>
#include <rtems/rtl/rtl.h>
#include "rtl-alloc-heap.h"

View File

@@ -19,6 +19,7 @@
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <rtems/rtl/rtl.h>

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>

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>

View File

@@ -21,6 +21,7 @@
#include <inttypes.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <rtems/libio_.h>

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"

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"

View File

@@ -17,6 +17,8 @@
#include "config.h"
#endif
#include <string.h>
#include "imfs.h"
static ssize_t IMFS_linfile_read(

View File

@@ -14,6 +14,7 @@
#endif
#include <stdlib.h>
#include <string.h>
#include <rtems.h>

View File

@@ -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>

View File

@@ -19,6 +19,7 @@
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>

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>

View File

@@ -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>

View File

@@ -16,6 +16,8 @@
#include "config.h"
#endif
#include <string.h>
#include <rtems/untar.h>
int Untar_GzChunkContext_Init(

View File

@@ -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);

View File

@@ -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>

View File

@@ -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>

View File

@@ -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(

View File

@@ -15,6 +15,7 @@
#endif
#include <errno.h>
#include <string.h>
#include <rtems/score/wkspace.h>
#include <rtems/posix/shmimpl.h>

View File

@@ -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>