chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
basic: modernize conf-files.c a bit
[elogind.git]
/
src
/
basic
/
mempool.c
diff --git
a/src/basic/mempool.c
b/src/basic/mempool.c
index fd06481399b443ca21b3ec8d80d435046cb39585..9ee6e6a76d622b36281208b9f4ae8fd9024a4516 100644
(file)
--- a/
src/basic/mempool.c
+++ b/
src/basic/mempool.c
@@
-20,8
+20,8
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include "mempool.h"
#include "macro.h"
#include "macro.h"
+#include "mempool.h"
#include "util.h"
struct pool {
#include "util.h"
struct pool {
@@
-88,8
+88,6
@@
void mempool_free_tile(struct mempool *mp, void *p) {
mp->freelist = p;
}
mp->freelist = p;
}
-/// UNNEEDED by elogind
-#if 0
#ifdef VALGRIND
void mempool_drop(struct mempool *mp) {
#ifdef VALGRIND
void mempool_drop(struct mempool *mp) {
@@
-103,4
+101,3
@@
void mempool_drop(struct mempool *mp) {
}
#endif
}
#endif
-#endif // 0