From 559de1289000f874e23ad01edfa1b37c102a793a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 19 Dec 2011 13:19:01 +0100 Subject: [PATCH] man: sd_readahead is not actually available in libsystemd-daemon --- man/sd_readahead.xml | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/man/sd_readahead.xml b/man/sd_readahead.xml index 88b135b7e..25fe5b2fc 100644 --- a/man/sd_readahead.xml +++ b/man/sd_readahead.xml @@ -49,7 +49,7 @@ - #include "sd-daemon.h" + #include "sd-readahead.h" int sd_readahead @@ -134,23 +134,17 @@ url="http://cgit.freedesktop.org/systemd/tree/src/sd-readahead.h"/> sd_readahead() is - implemented in the reference implementation's + implemented in the reference implementation's drop-in sd-readahead.c and - sd-readahead.h files. These - interfaces are available as shared library, which can - be compiled and linked to with the - libsystemd-daemon - pkg-config1 - file. Alternatively, applications consuming this API - may copy the implementation into their source - tree. For more details about the reference - implementation see - sd-readahead7. - - If the reference implementation is used as - drop-in files and -DDISABLE_SYSTEMD is set during - compilation this function will always return 0 and - otherwise become a NOP. + sd-readahead.h files. It is + recommended that applications consuming this API copy + the implementation into their source tree. For more + details about the reference implementation see + sd-readahead7 + + If -DDISABLE_SYSTEMD is set during compilation + this function will always return 0 and otherwise + become a NOP. -- 2.30.2