Skip to content

Commit

Permalink
GHI #32 Opsig fetch should return void
Browse files Browse the repository at this point in the history
  • Loading branch information
doodspav committed May 7, 2024
1 parent e67a13e commit ab7f4a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/patomic/types/ops/explicit.h
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ typedef int (* patomic_opsig_test_modify_t) (
* @note
* Width of all objects is the same, and is known implicitly.
*/
typedef int (* patomic_opsig_fetch_t) (
typedef void (* patomic_opsig_fetch_t) (
volatile void *obj,
const void *arg,
int order,
Expand Down
2 changes: 1 addition & 1 deletion include/patomic/types/ops/implicit.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ typedef int (* patomic_opsig_test_modify_t) (
* @note
* Width of all objects is the same, and is known implicitly.
*/
typedef int (* patomic_opsig_fetch_t) (
typedef void (* patomic_opsig_fetch_t) (
volatile void *obj,
const void *arg,
void *ret
Expand Down

0 comments on commit ab7f4a1

Please sign in to comment.