From: Yang Tse Date: Fri, 11 Jul 2008 18:52:35 +0000 (+0000) Subject: move multiple header inclusion prevention definition to top of file X-Git-Tag: curl-7_19_0~374 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=37a358ab9323ffd3e5a6d30d9200bdbb91b08c35;p=thirdparty%2Fcurl.git move multiple header inclusion prevention definition to top of file --- diff --git a/lib/strdup.h b/lib/strdup.h index 3206db3cfd..07681ac129 100644 --- a/lib/strdup.h +++ b/lib/strdup.h @@ -1,3 +1,5 @@ +#ifndef __CURL_STRDUP_H +#define __CURL_STRDUP_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | @@ -5,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2006, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2008, 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 @@ -20,10 +22,6 @@ * * $Id$ ***************************************************************************/ - -#ifndef _CURL_STRDUP_H -#define _CURL_STRDUP_H - #include "setup.h" #ifndef HAVE_STRDUP diff --git a/lib/strtok.h b/lib/strtok.h index cf9fac8c79..8cb8e694fe 100644 --- a/lib/strtok.h +++ b/lib/strtok.h @@ -1,3 +1,5 @@ +#ifndef __CURL_STRTOK_H +#define __CURL_STRTOK_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | @@ -5,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2004, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2008, 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 @@ -20,10 +22,6 @@ * * $Id$ ***************************************************************************/ - -#ifndef _CURL_STRTOK_R_H -#define _CURL_STRTOK_R_H - #include "setup.h" #include