typedef CURL in the curl.h file instead of only having a single useful typedef

in the separate types.h
This commit is contained in:
Daniel Stenberg 2004-04-26 14:06:51 +00:00
parent f5042cce34
commit ffc5fa3a2b
2 changed files with 2 additions and 29 deletions

View File

@ -41,7 +41,7 @@
# include <time.h>
#endif /* defined (vms) */
#include "types.h"
typedef void CURL;
#ifdef __cplusplus
extern "C" {

View 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 */