Fix clang build. Patch from Max Khon

This commit is contained in:
Stas Degteff 2011-12-17 21:46:02 +00:00
parent 801a1f540b
commit a6582b4f3c
3 changed files with 4 additions and 4 deletions

View File

@ -252,9 +252,9 @@ struct _HudsWide {
void realloc_pm_scan(); void realloc_pm_scan();
void update_netecho(char* __name, msgn_t __hdridx, int __delete); void update_netecho(const char* __name, msgn_t __hdridx, int __delete);
void test_open(gfile &__file, char* __fname, int __oaccess); void test_open(gfile &__file, const char* __fname, int __oaccess);
void raw_open(int __oaccess=0, int __all=true); void raw_open(int __oaccess=0, int __all=true);
void raw_close(); void raw_close();
void refresh(); void refresh();

View File

@ -48,7 +48,7 @@ void _HudsWide<msgn_t, rec_t, attr_t, board_t, last_t, __HUDSON>::raw_close()
// ------------------------------------------------------------------ // ------------------------------------------------------------------
template <class msgn_t, class rec_t, class attr_t, class board_t, class last_t, bool __HUDSON> template <class msgn_t, class rec_t, class attr_t, class board_t, class last_t, bool __HUDSON>
void _HudsWide<msgn_t, rec_t, attr_t, board_t, last_t, __HUDSON>::test_open(gfile &__file, char* __fname, int __oaccess) void _HudsWide<msgn_t, rec_t, attr_t, board_t, last_t, __HUDSON>::test_open(gfile &__file, const char* __fname, int __oaccess)
{ {
GFTRK("HudsTestOpen"); GFTRK("HudsTestOpen");

View File

@ -29,7 +29,7 @@
// ------------------------------------------------------------------ // ------------------------------------------------------------------
template <class msgn_t, class rec_t, class attr_t, class board_t, class last_t, bool __HUDSON> template <class msgn_t, class rec_t, class attr_t, class board_t, class last_t, bool __HUDSON>
void _HudsWide<msgn_t, rec_t, attr_t, board_t, last_t, __HUDSON>::update_netecho(char* __name, msgn_t __hdridx, int __delete) void _HudsWide<msgn_t, rec_t, attr_t, board_t, last_t, __HUDSON>::update_netecho(const char* __name, msgn_t __hdridx, int __delete)
{ {
GFTRK("HudsUpdateNetEcho"); GFTRK("HudsUpdateNetEcho");