From: Roy Marples Date: Wed, 11 Dec 2019 16:09:18 +0000 (+0000) Subject: compat: Add a guard to _strtoi.h X-Git-Tag: v9.0.0~176 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb2d31cda71d4223b31a18f7ee2958b7206bd07d;p=thirdparty%2Fdhcpcd.git compat: Add a guard to _strtoi.h Not really needed but LGTM wants it which blows. Should really take this upstream..... --- 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