X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=src%2Fbasic%2Fenv-file.h;h=a9714cfd53a79ef00f2f1d5b4c0a0a2a07fcc4a3;hb=f155cb6d75f1ee4eb5f4dd55243e3defc370ba5a;hp=2465eeddf4d6e3d7de6ac629783a9967d1f88b48;hpb=06692fdb5bf3d5e53f3f4847e1f8da18180075cb;p=thirdparty%2Fsystemd.git diff --git a/src/basic/env-file.h b/src/basic/env-file.h index 2465eeddf4d..a9714cfd53a 100644 --- a/src/basic/env-file.h +++ b/src/basic/env-file.h @@ -19,7 +19,4 @@ int load_env_file_pairs_fd(int fd, const char *fname, char ***ret); int merge_env_file(char ***env, FILE *f, const char *fname); -int write_env_file_at(int dir_fd, const char *fname, char **l); -static inline int write_env_file(const char *fname, char **l) { - return write_env_file_at(AT_FDCWD, fname, l); -} +int write_env_file(int dir_fd, const char *fname, char **headers, char **l);