Skip to content

Commit

Permalink
Add noexcept to bring into line with RRF files
Browse files Browse the repository at this point in the history
  • Loading branch information
gloomyandy committed Apr 21, 2020
1 parent 65ce33e commit 56240e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/LPC/BoardConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,24 +103,24 @@ static const boardConfigEntry_t boardConfigs[]=
extern "C"
{
// Create a sync object. We already created it, we just need to copy the handle.
int ff_cre_syncobj (BYTE vol, FF_SYNC_t* psy)
int ff_cre_syncobj (BYTE vol, FF_SYNC_t* psy) noexcept
{
return 1;
}

// Lock sync object
int ff_req_grant (FF_SYNC_t sy)
int ff_req_grant (FF_SYNC_t sy) noexcept
{
return 1;
}

// Unlock sync object
void ff_rel_grant (FF_SYNC_t sy)
void ff_rel_grant (FF_SYNC_t sy) noexcept
{
}

// Delete a sync object
int ff_del_syncobj (FF_SYNC_t sy)
int ff_del_syncobj (FF_SYNC_t sy) noexcept
{
return 1; // nothing to do, we never delete the mutex
}
Expand Down

0 comments on commit 56240e4

Please sign in to comment.