]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
compat: Add a guard to _strtoi.h
authorRoy Marples <roy@marples.name>
Wed, 11 Dec 2019 16:09:18 +0000 (16:09 +0000)
committerRoy Marples <roy@marples.name>
Fri, 20 Dec 2019 11:27:29 +0000 (11:27 +0000)
Not really needed but LGTM wants it which blows.
Should really take this upstream.....

compat/_strtoi.h

index 4b2b4e80f0d82226b866efeec0fc719ee57d757e..fcbd18f9b344c5f5a2db65afdb7eea4987b29f94 100644 (file)
@@ -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