From 37a358ab9323ffd3e5a6d30d9200bdbb91b08c35 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 11 Jul 2008 18:52:35 +0000 Subject: [PATCH] move multiple header inclusion prevention definition to top of file --- lib/strdup.h | 8 +++----- lib/strtok.h | 8 +++----- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/lib/strdup.h b/lib/strdup.h index 3206db3cf..07681ac12 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 cf9fac8c7..8cb8e694f 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