summaryrefslogtreecommitdiff
path: root/src/st.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2025-03-16 12:06:04 +0100
committerJörg Frings-Fürst <debian@jff.email>2025-03-16 12:06:04 +0100
commit23c9de60f30041419f3925221d4faff4e7a54717 (patch)
tree357c045bdafe11674151335bf4f7d65ae179478f /src/st.h
parent35e13e4c9637f5bf7bef6039c8c813207780a174 (diff)
New upstream version 6.9.10upstream/6.9.10upstream
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));