summaryrefslogtreecommitdiff
path: root/cleopatre/application/spidnetsnmp/perl/SNMP/perlsnmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'cleopatre/application/spidnetsnmp/perl/SNMP/perlsnmp.h')
-rw-r--r--cleopatre/application/spidnetsnmp/perl/SNMP/perlsnmp.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/cleopatre/application/spidnetsnmp/perl/SNMP/perlsnmp.h b/cleopatre/application/spidnetsnmp/perl/SNMP/perlsnmp.h
deleted file mode 100644
index 57bb064baa..0000000000
--- a/cleopatre/application/spidnetsnmp/perl/SNMP/perlsnmp.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef timeradd
-#define timeradd(a, b, result) \
- do { \
- (result)->tv_sec = (a)->tv_sec + (b)->tv_sec; \
- (result)->tv_usec = (a)->tv_usec + (b)->tv_usec; \
- if ((result)->tv_usec >= 1000000) \
- { \
- ++(result)->tv_sec; \
- (result)->tv_usec -= 1000000; \
- } \
- } while (0)
-#endif
-
-#ifndef timersub
-#define timersub(a, b, result) \
- do { \
- (result)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
- (result)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
- if ((result)->tv_usec < 0) { \
- --(result)->tv_sec; \
- (result)->tv_usec += 1000000; \
- } \
- } while (0)
-#endif