From ffc5fa3a2be787c8198eb68836a45c440876c1bd Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 26 Apr 2004 14:06:51 +0000 Subject: typedef CURL in the curl.h file instead of only having a single useful typedef in the separate types.h --- include/curl/curl.h | 2 +- include/curl/types.h | 29 +---------------------------- 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 #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, , 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 */ -- cgit v1.2.3