chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Always check asprintf return code
[elogind.git]
/
src
/
shared
/
path-lookup.h
diff --git
a/src/shared/path-lookup.h
b/src/shared/path-lookup.h
index 847a52f20a28662235e292e4e9ff1d6211f037bb..2fe8173f442336004f8f725aeb200087dd523d63 100644
(file)
--- a/
src/shared/path-lookup.h
+++ b/
src/shared/path-lookup.h
@@
-21,6
+21,8
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include "macro.h"
+
typedef struct LookupPaths {
char **unit_path;
#ifdef HAVE_SYSV_COMPAT
typedef struct LookupPaths {
char **unit_path;
#ifdef HAVE_SYSV_COMPAT
@@
-38,9
+40,6
@@
typedef enum SystemdRunningAs {
#define _cleanup_lookup_paths_free_ _cleanup_(lookup_paths_free)
#define _cleanup_lookup_paths_free_ _cleanup_(lookup_paths_free)
-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);
int lookup_paths_init(LookupPaths *p,
int user_config_home(char **config_home);
int lookup_paths_init(LookupPaths *p,