diff --git a/api/bmplib.C b/api/bmplib.C index 69a8e101b2..07ac8208bb 100644 --- a/api/bmplib.C +++ b/api/bmplib.C @@ -184,3 +184,9 @@ void DIB_BITMAP::FreeDIB_BMP() // Deconstructor DIB_BITMAP::~DIB_BITMAP() { FreeDIB_BMP(); } + +#ifdef __GNUC__ +static volatile const char __attribute__((unused)) *BOINCrcsid="$Id$"; +#else +static volatile const char *BOINCrcsid="$Id$"; +#endif diff --git a/api/graphics_api.C b/api/graphics_api.C index 62e2dab810..84ef9845fc 100755 --- a/api/graphics_api.C +++ b/api/graphics_api.C @@ -21,3 +21,9 @@ int boinc_init_options_graphics(BOINC_OPTIONS& opt, void (*worker)()) { init_main_state(); return boinc_init_options_graphics_impl(opt, worker, &boinc_main_state); } + +#ifdef __GNUC__ +static volatile const char __attribute__((unused)) *BOINCrcsid="$Id$"; +#else +static volatile const char *BOINCrcsid="$Id$"; +#endif diff --git a/api/graphics_lib.C b/api/graphics_lib.C index fd776babb5..4fafdf1e7f 100644 --- a/api/graphics_lib.C +++ b/api/graphics_lib.C @@ -153,3 +153,9 @@ no_graphics: // never get here... return 1; } + +#ifdef __GNUC__ +static volatile const char __attribute__((unused)) *BOINCrcsid="$Id$"; +#else +static volatile const char *BOINCrcsid="$Id$"; +#endif diff --git a/api/tgalib.C b/api/tgalib.C index c8d457ca1f..da22501a98 100644 --- a/api/tgalib.C +++ b/api/tgalib.C @@ -236,4 +236,9 @@ tImageTGA *LoadTGA(const char *filename) // Return the TGA data (remember, you must free this data after you are done) return pImageData; -} \ No newline at end of file +} +#ifdef __GNUC__ +static volatile const char __attribute__((unused)) *BOINCrcsid="$Id$"; +#else +static volatile const char *BOINCrcsid="$Id$"; +#endif diff --git a/lib/mem_usage.C b/lib/mem_usage.C index a15474587c..c7e142ced8 100644 --- a/lib/mem_usage.C +++ b/lib/mem_usage.C @@ -106,3 +106,9 @@ int mem_usage(double& vm_usage, double& resident_set) { return ERR_NOT_IMPLEMENTED; #endif } + +#ifdef __GNUC__ +static volatile const char __attribute__((unused)) *BOINCrcsid="$Id$"; +#else +static volatile const char *BOINCrcsid="$Id$"; +#endif