summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-08-03 07:58:07 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-08-03 08:02:59 +0200
commit42f9963d1f5c8f510c2efb334ce558df2cdc38b3 (patch)
tree5cb5da06cfcb5369f42b0ae701a434340dde7cf6
parentrtems: Relax partition buffer area alignment (diff)
downloadrtems-42f9963d1f5c8f510c2efb334ce558df2cdc38b3.tar.bz2
score: Remove superfluous semicolon
This avoids warnings like this: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic] RTEMS_DECLARE_GLOBAL_SYMBOL( abc ); ^ Update #3459.
-rw-r--r--cpukit/include/rtems/score/basedefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/include/rtems/score/basedefs.h b/cpukit/include/rtems/score/basedefs.h
index 679f4bd1b4..fd803e1b45 100644
--- a/cpukit/include/rtems/score/basedefs.h
+++ b/cpukit/include/rtems/score/basedefs.h
@@ -257,7 +257,7 @@
* The name must be a valid designator.
*/
#define RTEMS_DECLARE_GLOBAL_SYMBOL( _name ) \
- extern char _name[];
+ extern char _name[]
/**
* @brief Defines a global symbol with the specified name and value.