summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-12-11 16:09:18 +0000
committerRoy Marples <roy@marples.name>2019-12-11 16:09:18 +0000
commit072ba43bee158c48906201e2a5adfee35653212f (patch)
tree05c692ff0a92823439a8d6cc114159e357689264 /compat
parentde013911b5617afdd451adc6e7f665b8a9b3498d (diff)
downloaddhcpcd-072ba43bee158c48906201e2a5adfee35653212f.tar.xz
compat: Add a guard to _strtoi.h
Not really needed but LGTM wants it which blows. Should really take this upstream.....
Diffstat (limited to 'compat')
-rw-r--r--compat/_strtoi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compat/_strtoi.h b/compat/_strtoi.h
index 4b2b4e80..fcbd18f9 100644
--- a/compat/_strtoi.h
+++ b/compat/_strtoi.h
@@ -35,6 +35,9 @@
* NetBSD: src/common/lib/libc/stdlib/_strtoul.h,v 1.7 2013/05/17 12:55:56 joerg Exp
*/
+#ifndef _STRTOI_H
+#define _STRTOI_H
+
/*
* function template for strtoi and strtou
*
@@ -91,3 +94,4 @@ _FUNCNAME(const char * __restrict nptr, char ** __restrict endptr, int base,
return im;
}
+#endif