summaryrefslogtreecommitdiff
path: root/src/shared/bus-get-properties.h
diff options
context:
space:
mode:
authorAnita Zhang <the.anitazha@gmail.com>2021-02-02 14:16:03 -0800
committerAnita Zhang <the.anitazha@gmail.com>2021-02-02 17:52:48 -0800
commit0a9f93443be9e04fa77317bc5e28742b433277c6 (patch)
tree9b17a938938730ac1035f57f4d4ff8e09e5db5a9 /src/shared/bus-get-properties.h
parent94a8e2d6db689b0349091829e809e751fff9b812 (diff)
downloadsystemd-0a9f93443be9e04fa77317bc5e28742b433277c6.tar.gz
oom: rework *MemoryPressureLimit= properties to have 1/10000 precision
Requested in https://github.com/systemd/systemd/pull/15206#discussion_r505506657, preserve the full granularity for memory pressure limits (permyriad) instead of capping out at percent.
Diffstat (limited to 'src/shared/bus-get-properties.h')
-rw-r--r--src/shared/bus-get-properties.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/shared/bus-get-properties.h b/src/shared/bus-get-properties.h
index 9832c0d067..26f3e8588c 100644
--- a/src/shared/bus-get-properties.h
+++ b/src/shared/bus-get-properties.h
@@ -8,7 +8,6 @@
int bus_property_get_bool(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error);
int bus_property_set_bool(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *value, void *userdata, sd_bus_error *error);
int bus_property_get_id128(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error);
-int bus_property_get_percent(sd_bus *bus, const char *path, const char *interface, const char *property, sd_bus_message *reply, void *userdata, sd_bus_error *error);
#define bus_property_get_usec ((sd_bus_property_get_t) NULL)
#define bus_property_set_usec ((sd_bus_property_set_t) NULL)