diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-12-16 12:32:17 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-12-28 14:57:57 -0300 |
commit | 5a5f7a160da6ac3d141013e9a08f78edc216e434 (patch) | |
tree | e0007e3ce4df28062f87e512b071bc4a1bf10b3f /sysdeps/generic/memusage.h | |
parent | c75aa9246a8cfc814d99cf5f58229177bd69fc4f (diff) | |
download | glibc-5a5f7a160da6ac3d141013e9a08f78edc216e434.tar.gz glibc-5a5f7a160da6ac3d141013e9a08f78edc216e434.tar.xz glibc-5a5f7a160da6ac3d141013e9a08f78edc216e434.zip |
malloc: Remove atomic_* usage
These typedef are used solely on memusage and can be replaced with generic types.
Diffstat (limited to 'sysdeps/generic/memusage.h')
-rw-r--r-- | sysdeps/generic/memusage.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sysdeps/generic/memusage.h b/sysdeps/generic/memusage.h index 408e0b891b..c9bde5cd11 100644 --- a/sysdeps/generic/memusage.h +++ b/sysdeps/generic/memusage.h @@ -17,7 +17,6 @@ #include <limits.h> -#include <atomic.h> #include <stdint.h> #ifndef GETSP @@ -36,16 +35,3 @@ high = usecs >> 32; \ } #endif - -#if LONG_BIT == 32 -# define memusage_cntr_t uatomic32_t -#else -# define memusage_cntr_t uatomic64_t -#endif -#ifndef memusage_size_t -# if LONG_BIT == 32 -# define memusage_size_t uatomic32_t -# else -# define memusage_size_t uatomic64_t -# endif -#endif |