summaryrefslogtreecommitdiff
path: root/src/st.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2025-03-16 12:06:06 +0100
committerJörg Frings-Fürst <debian@jff.email>2025-03-16 12:06:06 +0100
commite6ce8c11c114a794f5523eaaec52688716873b72 (patch)
tree6e32c4075b0bef0cfa7a9c3ece4294db7a10c046 /src/st.h
parentb0e9d5f1322c403a2ba1df7f86e27d2514f576da (diff)
parent23c9de60f30041419f3925221d4faff4e7a54717 (diff)
Update upstream source from tag 'upstream/6.9.10'
Update to upstream version '6.9.10' with Debian dir f57d7dda5731072db02e6579c5e469f7d62c047f
Diffstat (limited to 'src/st.h')
-rw-r--r--src/st.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/st.h b/src/st.h
index 5efee8b..70798dc 100644
--- a/src/st.h
+++ b/src/st.h
@@ -34,13 +34,6 @@ enum st_retval {ST_CONTINUE, ST_STOP, ST_DELETE, ST_CHECK};
#ifndef _
# define _(args) args
#endif
-#ifndef ANYARGS
-# ifdef __cplusplus
-# define ANYARGS ...
-# else
-# define ANYARGS
-# endif
-#endif
st_table *st_init_table _((struct st_hash_type *));
st_table *st_init_table_with_size _((struct st_hash_type *, int));
@@ -52,7 +45,7 @@ int st_delete _((st_table *, st_data_t *, st_data_t *));
int st_delete_safe _((st_table *, st_data_t *, st_data_t *, st_data_t));
int st_insert _((st_table *, st_data_t, st_data_t));
int st_lookup _((st_table *, st_data_t, st_data_t *));
-int st_foreach _((st_table *, int (*)(ANYARGS), st_data_t));
+int st_foreach _((st_table *, int (*)(st_data_t, st_data_t, st_data_t), st_data_t));
void st_add_direct _((st_table *, st_data_t, st_data_t));
void st_free_table _((st_table *));
void st_cleanup_safe _((st_table *, st_data_t));