diff options
Diffstat (limited to 'src/libdatastruct/gensetdyn_delete.c')
-rw-r--r-- | src/libdatastruct/gensetdyn_delete.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libdatastruct/gensetdyn_delete.c b/src/libdatastruct/gensetdyn_delete.c index 58aec05..cfa15cf 100644 --- a/src/libdatastruct/gensetdyn_delete.c +++ b/src/libdatastruct/gensetdyn_delete.c @@ -4,7 +4,7 @@ #include <skalibs/genalloc.h> #include <skalibs/gensetdyn.h> -int gensetdyn_delete (gensetdyn_ref g, unsigned int i) +int gensetdyn_delete (gensetdyn *g, unsigned int i) { return (i >= g->storage.len) ? (errno = EINVAL, 0) : genalloc_catb(unsigned int, &g->freelist, &i, 1) ; |