Changeset 46dde0fc in rtems for c/src/lib/libbsp/no_cpu


Ignore:
Timestamp:
Oct 23, 2014, 8:05:17 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
b442032
Parents:
3e739ae
git-author:
Sebastian Huber <sebastian.huber@…> (10/23/14 08:05:17)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/23/14 08:21:41)
Message:

bsps: Move extern "C" to not cover includes

Some includes may use C++ and this conflicts if surrounded extern "C".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/no_cpu/no_bsp/include/bsp.h

    r3e739ae r46dde0fc  
    1818#define _BSP_H
    1919
    20 #ifdef __cplusplus
    21 extern "C" {
    22 #endif
    23 
    2420#include <bspopts.h>
    2521#include <bsp/default-initial-extension.h>
     
    2824#include <rtems/console.h>
    2925#include <rtems/clockdrv.h>
     26
     27#ifdef __cplusplus
     28extern "C" {
     29#endif
    3030
    3131/* functions */
Note: See TracChangeset for help on using the changeset viewer.