summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/stc/csptr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/csptr.h b/include/stc/csptr.h
index 4637963e..70bd87f0 100644
--- a/include/stc/csptr.h
+++ b/include/stc/csptr.h
@@ -139,7 +139,7 @@ typedef long atomic_count_t;
} \
\
STC_INLINE CX##_value_t* \
- CX##_reset_from(CX* self, CX##_value_t* p) { \
+ CX##_reset_with(CX* self, CX##_value_t* p) { \
CX##_del(self); \
*self = CX##_from(p); \
return self->get; \