Skip to content

Commit

Permalink
Merge pull request #222 from arkedge/feature/add_seciton
Browse files Browse the repository at this point in the history
add section 漏れを修正
  • Loading branch information
meltingrabbit committed Nov 30, 2023
2 parents 5ef1a70 + adbc0d3 commit 1b737cc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

- [#193](https://github.com/arkedge/c2a-core/pull/193): VCDU を AOS transfer frame に rename する
- [#197](https://github.com/arkedge/c2a-core/pull/197): M_PDU をコード規約に合わせるなどのリファクタ
- [#222](https://github.com/arkedge/c2a-core/pull/222): Add Section 漏れの修正

### Migration Guide
- [#193](https://github.com/arkedge/c2a-core/pull/193): 影響範囲は MOBC のみ
Expand Down
2 changes: 1 addition & 1 deletion library/endian.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#pragma section REPRO
/**
* @file
* @brief エンディアンに関するものを定義する
*/
#pragma section REPRO
#include "endian.h"
#include <src_user/settings/build_settings.h>
#include <stdint.h>
Expand Down
2 changes: 2 additions & 0 deletions library/libc/bsearch.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma section REPRO
/**
* @file
* @brief C2A が依存する libc 関数 bsearch を自前実装し,c2a-core から提供することで,C2A の移植性を高める.
Expand Down Expand Up @@ -49,3 +50,4 @@ void *bsearch(const void* key, const void* base, size_t nmemb, size_t size, comp
// not found
return NULL;
}
#pragma section
2 changes: 2 additions & 0 deletions library/libc/memchr.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#pragma section REPRO
/**
* @file
* @brief C2A が依存する libc 関数 memchr を自前実装し,c2a-core から提供することで,C2A の移植性を高める.
Expand All @@ -22,3 +23,4 @@ void* memchr(const void* buf, int c, size_t n)

return NULL;
}
#pragma section

0 comments on commit 1b737cc

Please sign in to comment.