diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-20 12:34:14 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2014-12-20 12:34:14 +0000 |
commit | 0d82edd9f8bebb396a9154d4e1003340dbf6b967 (patch) | |
tree | 0659c834f387f3504944a610ed6858b9e268e6c7 /src/libdatastruct/gensetdyn_delete.c | |
parent | 2436785702b47996e9f0e281df0d6027660ec914 (diff) | |
download | skalibs-0d82edd9f8bebb396a9154d4e1003340dbf6b967.tar.xz |
Lots of cosmetic fixes.
sha256 documented.
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) ; |