forked from Imagelibrary/rtems
libmisc: Simplify <rtems/stackchk.h>
Drop the <rtems/score/percpu.h> include since this file exposes a lot of implementation details.
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
|
||||
#include <rtems/bspIo.h>
|
||||
#include <rtems/stackchk.h>
|
||||
#include <rtems/score/percpu.h>
|
||||
#include "internal.h"
|
||||
|
||||
/*
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
#include <stdbool.h> /* bool */
|
||||
|
||||
#include <rtems/score/percpu.h> /* Thread_Control */
|
||||
#include <rtems/score/thread.h> /* Thread_Control */
|
||||
#include <rtems/bspIo.h>
|
||||
|
||||
/**
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
#include <rtems.h>
|
||||
#include <rtems/stackchk.h>
|
||||
#include <rtems/score/percpu.h>
|
||||
|
||||
/* forward declarations to avoid warnings */
|
||||
void b(void);
|
||||
|
||||
Reference in New Issue
Block a user