]> granicus.if.org Git - curl/commitdiff
lib/curl_path.h: add #ifdef header guard
authorDaniel Stenberg <daniel@haxx.se>
Tue, 20 Mar 2018 13:37:29 +0000 (14:37 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 20 Mar 2018 14:00:09 +0000 (15:00 +0100)
Detected by lgtm.com

lib/curl_path.h

index f9d4327508ad837e5ef66f590e37ffce65f0ac2a..5ee4ff36764a68f873d24fceff369c85d7bbc689 100644 (file)
@@ -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, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, 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