Ignore:
Timestamp:
Oct 23, 2014, 8:05:17 AM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 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/sh/gensh1/include/bsp.h

    r3e739ae r46dde0fc  
    2626#define _BSP_H
    2727
    28 #ifdef __cplusplus
    29 extern "C" {
    30 #endif
    31 
    3228#include <rtems.h>
    3329#include <rtems/clockdrv.h>
     
    3632#include <bspopts.h>
    3733#include <bsp/default-initial-extension.h>
     34
     35#ifdef __cplusplus
     36extern "C" {
     37#endif
    3838
    3939/* EDIT: To activate the sci driver, change the define below */
Note: See TracChangeset for help on using the changeset viewer.