mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
Removed warnings.
This commit is contained in:
@@ -15,6 +15,11 @@
|
|||||||
#include <rtems.h>
|
#include <rtems.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
/* for strcasecmp in linux */
|
||||||
|
#if defined(linux)
|
||||||
|
#define __USE_BSD
|
||||||
|
#endif
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <rtems/monitor.h>
|
#include <rtems/monitor.h>
|
||||||
|
|||||||
@@ -313,7 +313,7 @@ typedef struct {
|
|||||||
|
|
||||||
/* monitor.c */
|
/* monitor.c */
|
||||||
void rtems_monitor_kill(void);
|
void rtems_monitor_kill(void);
|
||||||
void rtems_monitor_init(rtems_boolean);
|
void rtems_monitor_init(unsigned32);
|
||||||
void rtems_monitor_wakeup(void);
|
void rtems_monitor_wakeup(void);
|
||||||
void rtems_monitor_pause_cmd(int, char **, unsigned32, boolean);
|
void rtems_monitor_pause_cmd(int, char **, unsigned32, boolean);
|
||||||
void rtems_monitor_fatal_cmd(int, char **, unsigned32, boolean);
|
void rtems_monitor_fatal_cmd(int, char **, unsigned32, boolean);
|
||||||
|
|||||||
@@ -15,6 +15,11 @@
|
|||||||
#include <rtems.h>
|
#include <rtems.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
/* for strcasecmp in linux */
|
||||||
|
#if defined(linux)
|
||||||
|
#define __USE_BSD
|
||||||
|
#endif
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <rtems/monitor.h>
|
#include <rtems/monitor.h>
|
||||||
|
|||||||
@@ -313,7 +313,7 @@ typedef struct {
|
|||||||
|
|
||||||
/* monitor.c */
|
/* monitor.c */
|
||||||
void rtems_monitor_kill(void);
|
void rtems_monitor_kill(void);
|
||||||
void rtems_monitor_init(rtems_boolean);
|
void rtems_monitor_init(unsigned32);
|
||||||
void rtems_monitor_wakeup(void);
|
void rtems_monitor_wakeup(void);
|
||||||
void rtems_monitor_pause_cmd(int, char **, unsigned32, boolean);
|
void rtems_monitor_pause_cmd(int, char **, unsigned32, boolean);
|
||||||
void rtems_monitor_fatal_cmd(int, char **, unsigned32, boolean);
|
void rtems_monitor_fatal_cmd(int, char **, unsigned32, boolean);
|
||||||
|
|||||||
@@ -15,6 +15,11 @@
|
|||||||
#include <rtems.h>
|
#include <rtems.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
/* for strcasecmp in linux */
|
||||||
|
#if defined(linux)
|
||||||
|
#define __USE_BSD
|
||||||
|
#endif
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <rtems/monitor.h>
|
#include <rtems/monitor.h>
|
||||||
|
|||||||
@@ -313,7 +313,7 @@ typedef struct {
|
|||||||
|
|
||||||
/* monitor.c */
|
/* monitor.c */
|
||||||
void rtems_monitor_kill(void);
|
void rtems_monitor_kill(void);
|
||||||
void rtems_monitor_init(rtems_boolean);
|
void rtems_monitor_init(unsigned32);
|
||||||
void rtems_monitor_wakeup(void);
|
void rtems_monitor_wakeup(void);
|
||||||
void rtems_monitor_pause_cmd(int, char **, unsigned32, boolean);
|
void rtems_monitor_pause_cmd(int, char **, unsigned32, boolean);
|
||||||
void rtems_monitor_fatal_cmd(int, char **, unsigned32, boolean);
|
void rtems_monitor_fatal_cmd(int, char **, unsigned32, boolean);
|
||||||
|
|||||||
Reference in New Issue
Block a user