From 13e3b93ccec9502f1965f32c6ef87dc0c5ed8434 Mon Sep 17 00:00:00 2001 From: Bruce Allen Date: Fri, 6 Jan 2006 12:40:17 +0000 Subject: [PATCH] Put prototype in the correct section. svn path=/trunk/boinc/; revision=9188 --- api/boinc_api.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/boinc_api.h b/api/boinc_api.h index adc1e76e92..1f044c2e75 100755 --- a/api/boinc_api.h +++ b/api/boinc_api.h @@ -26,6 +26,7 @@ #if ((defined(_MSC_VER)) && (_MSC_VER > 1020)) #define bool char #else +// WARNING: INCORRECT. SEE checkin_notes_2004 Decemmber 22 #define bool int #endif // defined(_MSC_VER) && (_MSC_VER > 1020) #endif // (!defined __cplusplus) && (!defined bool) @@ -88,6 +89,7 @@ extern void boinc_using_cpu(); extern void boinc_need_network(); extern int boinc_network_poll(); extern void boinc_network_done(); +extern int boinc_is_standalone(void); // we can use those in ANSI-C with a suitable define for 'bool' // THIS IS DANGEROUS, but since E@H doesn't use this I'll leave @@ -108,7 +110,6 @@ extern int setMacIcon(char *filename, char *iconData, long iconSize); #include #include "app_ipc.h" -extern int boinc_is_standalone(void); extern int boinc_init_options(BOINC_OPTIONS&); extern int boinc_get_status(BOINC_STATUS&); extern int boinc_resolve_filename_s(const char*, std::string&);