]> granicus.if.org Git - curl/commitdiff
moved the bool typedef to setup.h
authorDaniel Stenberg <daniel@haxx.se>
Wed, 15 Dec 2004 10:33:51 +0000 (10:33 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 15 Dec 2004 10:33:51 +0000 (10:33 +0000)
src/main.c
src/setup.h

index 87e43ff6710583cd0428a37310bcd9c6f2f34fdf..7495ee6ad6f98ae96d320477a17f0213e0a59a9a 100644 (file)
@@ -136,12 +136,6 @@ char **__crt0_glob_function (char *arg)
 }
 #endif /* __DJGPP__ */
 
-#ifndef __cplusplus
-#ifndef typedef_bool
-typedef char bool;
-#endif
-#endif
-
 #define CURL_PROGRESS_STATS 0 /* default progress display */
 #define CURL_PROGRESS_BAR   1
 
index 1262550cbb980a01b3ca23692603cb3844890b8e..5c9b19cfaea2b184ad27ddf09ceed59f6989771d 100644 (file)
@@ -1,10 +1,10 @@
 #ifndef __CLIENT_SETUP_H
 #define __CLIENT_SETUP_H
 /***************************************************************************
- *                                  _   _ ____  _     
- *  Project                     ___| | | |  _ \| |    
- *                             / __| | | | |_) | |    
- *                            | (__| |_| |  _ <| |___ 
+ *                                  _   _ ____  _
+ *  Project                     ___| | | |  _ \| |
+ *                             / __| | | | |_) | |
+ *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
  * Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
@@ -12,7 +12,7 @@
  * 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.
 #define FALSE 0
 #endif
 
+#ifndef __cplusplus
+#ifndef typedef_bool
+typedef char bool;
+#endif
+#endif
+
 #ifndef OS
 #define OS "unknown"
 #endif