quiet some mismatched prototype warnings with visual studio compiler
pager.c .\pager.c(1886): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' .\pager.c(1887): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' .\pager.c(1888): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' .\pager.c(1889): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' .\pager.c(1890): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' .\pager.c(1891): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' .\pager.c(1893): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' .\pager.c(1895): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' .\pager.c(1896): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' .\pager.c(1897): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' .\pager.c(1898): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' .\pager.c(1902): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)' .\pager.c(1921): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)'
This commit is contained in:
24
src/pager.c
24
src/pager.c
@@ -1780,7 +1780,7 @@ dowhatdoes()
|
|||||||
}
|
}
|
||||||
|
|
||||||
STATIC_OVL void
|
STATIC_OVL void
|
||||||
docontact()
|
docontact(VOID_ARGS)
|
||||||
{
|
{
|
||||||
winid cwin = create_nhwindow(NHW_TEXT);
|
winid cwin = create_nhwindow(NHW_TEXT);
|
||||||
char buf[BUFSZ];
|
char buf[BUFSZ];
|
||||||
@@ -1810,67 +1810,67 @@ docontact()
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
dispfile_help()
|
dispfile_help(VOID_ARGS)
|
||||||
{
|
{
|
||||||
display_file(HELP, TRUE);
|
display_file(HELP, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
dispfile_shelp()
|
dispfile_shelp(VOID_ARGS)
|
||||||
{
|
{
|
||||||
display_file(SHELP, TRUE);
|
display_file(SHELP, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
dispfile_optionfile()
|
dispfile_optionfile(VOID_ARGS)
|
||||||
{
|
{
|
||||||
display_file(OPTIONFILE, TRUE);
|
display_file(OPTIONFILE, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
dispfile_license()
|
dispfile_license(VOID_ARGS)
|
||||||
{
|
{
|
||||||
display_file(LICENSE, TRUE);
|
display_file(LICENSE, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
dispfile_debughelp()
|
dispfile_debughelp(VOID_ARGS)
|
||||||
{
|
{
|
||||||
display_file(DEBUGHELP, TRUE);
|
display_file(DEBUGHELP, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
hmenu_doextversion()
|
hmenu_doextversion(VOID_ARGS)
|
||||||
{
|
{
|
||||||
(void) doextversion();
|
(void) doextversion();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
hmenu_dohistory()
|
hmenu_dohistory(VOID_ARGS)
|
||||||
{
|
{
|
||||||
(void) dohistory();
|
(void) dohistory();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
hmenu_dowhatis()
|
hmenu_dowhatis(VOID_ARGS)
|
||||||
{
|
{
|
||||||
(void) dowhatis();
|
(void) dowhatis();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
hmenu_dowhatdoes()
|
hmenu_dowhatdoes(VOID_ARGS)
|
||||||
{
|
{
|
||||||
(void) dowhatdoes();
|
(void) dowhatdoes();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
hmenu_doextlist()
|
hmenu_doextlist(VOID_ARGS)
|
||||||
{
|
{
|
||||||
(void) doextlist();
|
(void) doextlist();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
domenucontrols()
|
domenucontrols(VOID_ARGS)
|
||||||
{
|
{
|
||||||
winid cwin = create_nhwindow(NHW_TEXT);
|
winid cwin = create_nhwindow(NHW_TEXT);
|
||||||
show_menu_controls(cwin, FALSE);
|
show_menu_controls(cwin, FALSE);
|
||||||
|
|||||||
Reference in New Issue
Block a user