chiark / gitweb /
units: set HOME=/root when running shells
[elogind.git] / src / sd-daemon.h
index c68c96d2ddfb56312f44c047c14b0ea6d42023fa..6c8872fc235d1912ed410a2c8b0a0962850f64fc 100644 (file)
@@ -67,7 +67,7 @@ extern "C" {
   See sd-daemon(7) for more information.
 */
 
-#if __GNUC__ >= 4
+#if (__GNUC__ >= 4) && !defined(SD_EXPORT_SYMBOLS)
 #define _sd_printf_attr_(a,b) __attribute__ ((format (printf, a, b)))
 #define _sd_hidden_ __attribute__ ((visibility("hidden")))
 #else
@@ -171,7 +171,7 @@ int sd_is_socket_unix(int fd, int type, int listening, const char *path, size_t
 
 /*
   Informs systemd about changed daemon state. This takes a number of
-  newline seperated environment-style variable assignments in a
+  newline separated environment-style variable assignments in a
   string. The following variables are known:
 
      READY=1      Tells systemd that daemon startup is finished (only