]> granicus.if.org Git - curl/commitdiff
move multiple header inclusion prevention definition to top of file
authorYang Tse <yangsita@gmail.com>
Fri, 11 Jul 2008 18:52:35 +0000 (18:52 +0000)
committerYang Tse <yangsita@gmail.com>
Fri, 11 Jul 2008 18:52:35 +0000 (18:52 +0000)
lib/strdup.h
lib/strtok.h

index 3206db3cfd95854f885e3f1c1ebbefa3aaa67448..07681ac129ff40319ce2437980f2491e633fba01 100644 (file)
@@ -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
  *
  * $Id$
  ***************************************************************************/
-
-#ifndef _CURL_STRDUP_H
-#define _CURL_STRDUP_H
-
 #include "setup.h"
 
 #ifndef HAVE_STRDUP
index cf9fac8c792b555a2983bfe53d0c6d7de698a5e9..8cb8e694fe91eecd94d9d4c4369add044178a28a 100644 (file)
@@ -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
  *
  * $Id$
  ***************************************************************************/
-
-#ifndef _CURL_STRTOK_R_H
-#define _CURL_STRTOK_R_H
-
 #include "setup.h"
 #include <stddef.h>