diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-07-14 08:23:52 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-07-14 08:29:02 +0000 |
commit | 800bb2057ce8559eede740816be06cf60d959f39 (patch) | |
tree | b44827d35f417d21141a8e9071dbf4e04f1d72c9 | |
parent | 4edbdd6ba3686a60a8ddeed8f6f26e55abf0b207 (diff) | |
download | cmogstored-800bb2057ce8559eede740816be06cf60d959f39.tar.gz |
This function is no longer used as we now attempt to reattach rbufs to the TLS space of each thread.
-rw-r--r-- | alloc.c | 6 | ||||
-rw-r--r-- | cmogstored.h | 1 |
2 files changed, 0 insertions, 7 deletions
@@ -178,12 +178,6 @@ void mog_rbuf_free(struct mog_rbuf *rbuf) free(rbuf); } -void mog_rbuf_free_and_null(struct mog_rbuf **ptrptr) -{ - mog_rbuf_free(*ptrptr); - *ptrptr = NULL; -} - /* retrieves the per-thread fsbuf and sets size to the value of fsbuf_size */ void *mog_fsbuf_get(size_t *size) { diff --git a/cmogstored.h b/cmogstored.h index c3ebf80..32868cb 100644 --- a/cmogstored.h +++ b/cmogstored.h @@ -342,7 +342,6 @@ struct mog_rbuf *mog_rbuf_get(size_t size); struct mog_rbuf *mog_rbuf_detach(struct mog_rbuf *rbuf); struct mog_rbuf *mog_rbuf_grow(struct mog_rbuf *); void mog_rbuf_free(struct mog_rbuf *); -void mog_rbuf_free_and_null(struct mog_rbuf **); void mog_rbuf_reattach_and_null(struct mog_rbuf **); void *mog_fsbuf_get(size_t *size); void mog_alloc_quit(void); |