Fixed link-breaking errors.

This commit is contained in:
OBattler
2017-02-19 17:01:17 +01:00
parent abd167e73c
commit f3c4d044d6
4 changed files with 9 additions and 3 deletions

View File

@@ -467,7 +467,7 @@ void *cga_standalone_init()
#ifndef __unix #ifndef __unix
cga_palette = device_get_config_int("rgb_type"); cga_palette = device_get_config_int("rgb_type");
rebuild_cgapal(); cgapal_rebuild();
#endif #endif
return cga; return cga;

View File

@@ -347,7 +347,7 @@ void *hercules_init()
#ifndef __unix #ifndef __unix
cga_palette = device_get_config_int("rgb_type"); cga_palette = device_get_config_int("rgb_type");
rebuild_cgapal(); cgapal_rebuild();
#endif #endif
return hercules; return hercules;

View File

@@ -303,7 +303,7 @@ void *mda_init()
#ifndef __unix #ifndef __unix
cga_palette = device_get_config_int("rgb_type"); cga_palette = device_get_config_int("rgb_type");
rebuild_cgapal(); cgapal_rebuild();
#endif #endif
return mda; return mda;

View File

@@ -1,4 +1,10 @@
extern PALETTE cgapal; extern PALETTE cgapal;
extern PALETTE cgapal_mono[6]; extern PALETTE cgapal_mono[6];
#ifdef __cplusplus
extern "C" {
#endif
void cgapal_rebuild(); void cgapal_rebuild();
#ifdef __cplusplus
}
#endif