chiark / gitweb /
Properly check for overflow in offsets
[elogind.git] / src / shared / path-lookup.h
index baef62228af0e35f8da0a7b98de364ae4bc62924..9dee85f9673d113983b741085197406c8593d04d 100644 (file)
@@ -36,8 +36,8 @@ typedef enum SystemdRunningAs {
         _SYSTEMD_RUNNING_AS_INVALID = -1
 } SystemdRunningAs;
 
-const char* systemd_running_as_to_string(SystemdRunningAs i);
-SystemdRunningAs systemd_running_as_from_string(const char *s);
+const char* systemd_running_as_to_string(SystemdRunningAs i) _const_;
+SystemdRunningAs systemd_running_as_from_string(const char *s) _pure_;
 
 int user_config_home(char **config_home);