Commit ffc5fa3a authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

in the separate types.h
parent f5042cce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@
# include <time.h>
#endif /* defined (vms) */

#include "types.h"
typedef void CURL;

#ifdef  __cplusplus
extern "C" {
+1 −28
Original line number Diff line number Diff line
#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 */