summaryrefslogtreecommitdiffstats
path: root/include/pid.h
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-07-12 09:14:46 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-07-12 09:14:46 +0000
commit8a9f232945f6ec241470513933baf6d72d256a06 (patch)
tree01c03798a9850c55f88a3e34db706a8786040482 /include/pid.h
parent62918b434f4f3c809505715d1d92c402110ab230 (diff)
downloadzabbix-8a9f232945f6ec241470513933baf6d72d256a06.tar.gz
zabbix-8a9f232945f6ec241470513933baf6d72d256a06.tar.xz
zabbix-8a9f232945f6ec241470513933baf6d72d256a06.zip
zabbix-1.2_dev integration
git-svn-id: svn://svn.zabbix.com/trunk@3038 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include/pid.h')
-rw-r--r--include/pid.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/pid.h b/include/pid.h
index a39a66c9..5895610b 100644
--- a/include/pid.h
+++ b/include/pid.h
@@ -20,6 +20,11 @@
#ifndef ZABBIX_PID_H
#define ZABBIX_PID_H
-int create_pid_file(const char *pidfile);
+#if defined(WIN32)
+# error "This module allowed only for Linux OS"
+#endif
+
+int create_pid_file(const char *pidfile);
+void drop_pid_file(const char *pidfile);
#endif