]> granicus.if.org Git - curl/commitdiff
typedef CURL in the curl.h file instead of only having a single useful typedef
authorDaniel Stenberg <daniel@haxx.se>
Mon, 26 Apr 2004 14:06:51 +0000 (14:06 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 26 Apr 2004 14:06:51 +0000 (14:06 +0000)
in the separate types.h

include/curl/curl.h
include/curl/types.h

index 123dfeefa62c4e2863f2e9044fa7f7b1d51ea7aa..67d28c470bb69b2c5a7e73385367a3101edb605b 100644 (file)
@@ -41,7 +41,7 @@
 # include <time.h>
 #endif /* defined (vms) */
 
-#include "types.h"
+typedef void CURL;
 
 #ifdef  __cplusplus
 extern "C" {
index aaf9e9498d8d3d91b97a6f476c07790445723291..d37d6ae9e11e48d3f8aaba1957015a03f7f12c63 100644 (file)
@@ -1,28 +1 @@
-#ifndef __CURL_TYPES_H
-#define __CURL_TYPES_H
-/***************************************************************************
- *                                  _   _ ____  _     
- *  Project                     ___| | | |  _ \| |    
- *                             / __| | | | |_) | |    
- *                            | (__| |_| |  _ <| |___ 
- *                             \___|\___/|_| \_\_____|
- *
- * Copyright (C) 1998 - 2004, 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
- * are also available at http://curl.haxx.se/docs/copyright.html.
- * 
- * You may opt to use, copy, modify, merge, publish, distribute and/or sell
- * copies of the Software, and permit persons to whom the Software is
- * furnished to do so, under the terms of the COPYING file.
- *
- * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
- * KIND, either express or implied.
- *
- * $Id$
- ***************************************************************************/
-typedef void CURL;
-typedef void CURLconnect;
-
-#endif /* __CURL_TYPES_H */
+/* not used */