From f623ad65e81c76f34130be272a4efe1d1abe1e13 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 20 Mar 2018 14:37:29 +0100 Subject: lib/curl_path.h: add #ifdef header guard Detected by lgtm.com --- lib/curl_path.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/curl_path.h b/lib/curl_path.h index f9d432750..5ee4ff367 100644 --- a/lib/curl_path.h +++ b/lib/curl_path.h @@ -1,3 +1,5 @@ +#ifndef HEADER_CURL_PATH_H +#define HEADER_CURL_PATH_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | @@ -5,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2017, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2018, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -42,3 +44,4 @@ CURLcode Curl_getworkingpath(struct connectdata *conn, char **path); CURLcode Curl_get_pathname(const char **cpp, char **path, char *homedir); +#endif -- cgit v1.2.3