]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/mempool.h
Add SPDX license identifiers to source files under the LGPL
[thirdparty/systemd.git] / src / basic / mempool.h
index 42f473bee10e0291bbef952be2abfb079ed8c117..c9235c836101508c2789ead797ad1e826ac6275d 100644 (file)
@@ -1,5 +1,4 @@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
+/* SPDX-License-Identifier: LGPL-2.1+ */
 #pragma once
 
 /***
@@ -38,7 +37,7 @@ void* mempool_alloc0_tile(struct mempool *mp);
 void mempool_free_tile(struct mempool *mp, void *p);
 
 #define DEFINE_MEMPOOL(pool_name, tile_type, alloc_at_least) \
-struct mempool pool_name = { \
+static struct mempool pool_name = { \
         .tile_size = sizeof(tile_type), \
         .at_least = alloc_at_least, \
 }