aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-07-11 18:52:35 +0000
committerYang Tse <yangsita@gmail.com>2008-07-11 18:52:35 +0000
commit37a358ab9323ffd3e5a6d30d9200bdbb91b08c35 (patch)
tree70e20f7ebbe83bc2386e7b450d8d389c2b1ebbac
parent3452c8d693786e43205e7e1c91c5f05e0454185c (diff)
move multiple header inclusion prevention definition to top of file
-rw-r--r--lib/strdup.h8
-rw-r--r--lib/strtok.h8
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, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2008, 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
@@ -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, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2008, 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
@@ -20,10 +22,6 @@
*
* $Id$
***************************************************************************/
-
-#ifndef _CURL_STRTOK_R_H
-#define _CURL_STRTOK_R_H
-
#include "setup.h"
#include <stddef.h>