aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-04-26 14:06:51 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-04-26 14:06:51 +0000
commitffc5fa3a2be787c8198eb68836a45c440876c1bd (patch)
tree63d848cd5f9e98f5482eb31e124501cbb4de189e
parentf5042cce34d0680ddfb8132d8d36521f10e5e3fe (diff)
typedef CURL in the curl.h file instead of only having a single useful typedef
in the separate types.h
-rw-r--r--include/curl/curl.h2
-rw-r--r--include/curl/types.h29
2 files changed, 2 insertions, 29 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 123dfeefa..67d28c470 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -41,7 +41,7 @@
# include <time.h>
#endif /* defined (vms) */
-#include "types.h"
+typedef void CURL;
#ifdef __cplusplus
extern "C" {
diff --git a/include/curl/types.h b/include/curl/types.h
index aaf9e9498..d37d6ae9e 100644
--- a/include/curl/types.h
+++ b/include/curl/types.h
@@ -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 */