From 3e874c2898d572281a208610d966cbf48fdbc737 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 11 Dec 2019 16:09:18 +0000 Subject: [PATCH] compat: Add a guard to _strtoi.h Not really needed but LGTM wants it which blows. Should really take this upstream..... --- compat/_strtoi.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.47.2