Skip to content

Commit

Permalink
atomics: remove unused macros
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjulien committed Apr 16, 2020
1 parent c83a607 commit 5b9d17b
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/util-atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,24 +217,6 @@
#define SC_ATOMIC_AND(name, val) \
SCAtomicFetchAndAnd(&(name ## _sc_atomic__), (val))

/**
* \brief Bitwise NAND a value to our atomic variable
*
* \param name the atomic variable
* \param val the value to NAND to the variable
*/
#define SC_ATOMIC_NAND(name, val) \
SCAtomicFetchAndNand(&(name ## _sc_atomic__), (val))

/**
* \brief Bitwise XOR a value to our atomic variable
*
* \param name the atomic variable
* \param val the value to XOR to the variable
*/
#define SC_ATOMIC_XOR(name, val) \
SCAtomicFetchAndXor(&(name ## _sc_atomic__), (val))

/**
* \brief atomic Compare and Switch
*
Expand Down

0 comments on commit 5b9d17b

Please sign in to comment.