summaryrefslogtreecommitdiffstats
path: root/src/basic/procfs-util.h
diff options
context:
space:
mode:
authorAnita Zhang <the.anitazha@gmail.com>2021-07-02 02:07:32 +0200
committerLennart Poettering <lennart@poettering.net>2021-07-02 09:26:40 +0200
commite82acab4db6f5f212f6c9c9b3ec2df9010a83925 (patch)
tree4d028a733b9c7d7750e6aa4cc181fd0ac22c39e7 /src/basic/procfs-util.h
parentselinux: support infering SELinux label also from socket not connected to stdin (diff)
downloadsystemd-e82acab4db6f5f212f6c9c9b3ec2df9010a83925.tar.xz
systemd-e82acab4db6f5f212f6c9c9b3ec2df9010a83925.zip
oomd: review follow ups to #20020
Diffstat (limited to 'src/basic/procfs-util.h')
-rw-r--r--src/basic/procfs-util.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/basic/procfs-util.h b/src/basic/procfs-util.h
index b7bf7b729d..61fa71d479 100644
--- a/src/basic/procfs-util.h
+++ b/src/basic/procfs-util.h
@@ -16,5 +16,4 @@ static inline int procfs_memory_get_used(uint64_t *ret) {
return procfs_memory_get(NULL, ret);
}
-/* This function destroys "word" (it'll be truncated to perform conversion) */
-int convert_meminfo_value_to_uint64_bytes(char *word, uint64_t *ret);
+int convert_meminfo_value_to_uint64_bytes(const char *word, uint64_t *ret);