more pointer style consistency
This commit is contained in:
@@ -961,7 +961,7 @@ gettty(void)
|
||||
|
||||
/* reset terminal to original state */
|
||||
void
|
||||
settty(const char* s)
|
||||
settty(const char *s)
|
||||
{
|
||||
cmov(ttyDisplay->curx, ttyDisplay->cury);
|
||||
end_screen();
|
||||
@@ -1227,7 +1227,7 @@ nocmov(int x, int y)
|
||||
}
|
||||
|
||||
void
|
||||
xputs(const char* s)
|
||||
xputs(const char *s)
|
||||
{
|
||||
int k;
|
||||
int slen = (int) strlen(s);
|
||||
@@ -1837,7 +1837,7 @@ toggle_mouse_support(void)
|
||||
|
||||
/* handle tty options updates here */
|
||||
void
|
||||
consoletty_preference_update(const char* pref)
|
||||
consoletty_preference_update(const char *pref)
|
||||
{
|
||||
if (stricmp(pref, "mouse_support") == 0) {
|
||||
#ifndef NO_MOUSE_ALLOWED
|
||||
@@ -1989,7 +1989,7 @@ win32con_toggle_cursor_info(void)
|
||||
#endif
|
||||
|
||||
void
|
||||
map_subkeyvalue(char* op)
|
||||
map_subkeyvalue(char *op)
|
||||
{
|
||||
char digits[] = "0123456789";
|
||||
int length, i, idx, val;
|
||||
@@ -2862,8 +2862,8 @@ set_keyhandling_via_option(void)
|
||||
int
|
||||
default_processkeystroke(
|
||||
HANDLE hConIn,
|
||||
INPUT_RECORD* ir,
|
||||
boolean* valid,
|
||||
INPUT_RECORD *ir,
|
||||
boolean *valid,
|
||||
boolean numberpad,
|
||||
int portdebug)
|
||||
{
|
||||
@@ -3030,7 +3030,7 @@ int
|
||||
default_checkinput(
|
||||
HANDLE hConIn,
|
||||
INPUT_RECORD *ir,
|
||||
DWORD* count,
|
||||
DWORD *count,
|
||||
boolean numpad,
|
||||
int mode,
|
||||
int *mod,
|
||||
|
||||
@@ -119,7 +119,7 @@ void copy_symbols_content(void);
|
||||
#ifdef PORT_HELP
|
||||
void port_help(void);
|
||||
#endif
|
||||
void windows_raw_print(const char* str);
|
||||
void windows_raw_print(const char *str);
|
||||
|
||||
|
||||
|
||||
@@ -1141,7 +1141,7 @@ windows_exepath(void)
|
||||
}
|
||||
|
||||
char *
|
||||
translate_path_variables(const char* str, char* buf)
|
||||
translate_path_variables(const char *str, char *buf)
|
||||
{
|
||||
const char *src;
|
||||
char evar[BUFSZ], *dest, *envp, *eptr = (char *) 0;
|
||||
@@ -1195,7 +1195,7 @@ translate_path_variables(const char* str, char* buf)
|
||||
|
||||
/*ARGSUSED*/
|
||||
void
|
||||
windows_raw_print(const char* str)
|
||||
windows_raw_print(const char *str)
|
||||
{
|
||||
if (str)
|
||||
fprintf(stdout, "%s\n", str);
|
||||
@@ -1205,7 +1205,7 @@ windows_raw_print(const char* str)
|
||||
|
||||
/*ARGSUSED*/
|
||||
void
|
||||
windows_raw_print_bold(const char* str)
|
||||
windows_raw_print_bold(const char *str)
|
||||
{
|
||||
windows_raw_print(str);
|
||||
return;
|
||||
@@ -1233,7 +1233,7 @@ windows_nh_poskey(int *x UNUSED, int *y UNUSED, int *mod UNUSED)
|
||||
|
||||
/*ARGSUSED*/
|
||||
char
|
||||
windows_yn_function(const char* query UNUSED, const char* resp UNUSED,
|
||||
windows_yn_function(const char *query UNUSED, const char *resp UNUSED,
|
||||
char def UNUSED)
|
||||
{
|
||||
return '\033';
|
||||
@@ -1241,7 +1241,7 @@ windows_yn_function(const char* query UNUSED, const char* resp UNUSED,
|
||||
|
||||
/*ARGSUSED*/
|
||||
static void
|
||||
windows_getlin(const char* prompt UNUSED, char* outbuf)
|
||||
windows_getlin(const char *prompt UNUSED, char *outbuf)
|
||||
{
|
||||
Strcpy(outbuf, "\033");
|
||||
}
|
||||
@@ -1408,7 +1408,7 @@ gotlock:
|
||||
#endif /* PC_LOCKING */
|
||||
|
||||
boolean
|
||||
file_exists(const char* path)
|
||||
file_exists(const char *path)
|
||||
{
|
||||
struct stat sb;
|
||||
|
||||
@@ -1427,7 +1427,7 @@ RESTORE_WARNING_UNREACHABLE_CODE
|
||||
does not exist, it returns TRUE.
|
||||
*/
|
||||
boolean
|
||||
file_newer(const char* a_path, const char* b_path)
|
||||
file_newer(const char *a_path, const char *b_path)
|
||||
{
|
||||
struct stat a_sb = { 0 };
|
||||
struct stat b_sb = { 0 };
|
||||
|
||||
@@ -102,7 +102,7 @@ switchar(void)
|
||||
}
|
||||
|
||||
long
|
||||
freediskspace(char* path)
|
||||
freediskspace(char *path)
|
||||
{
|
||||
char tmppath[4];
|
||||
DWORD SectorsPerCluster = 0;
|
||||
@@ -123,7 +123,7 @@ freediskspace(char* path)
|
||||
* Functions to get filenames using wildcards
|
||||
*/
|
||||
int
|
||||
findfirst(char* path)
|
||||
findfirst(char *path)
|
||||
{
|
||||
if (ffhandle) {
|
||||
FindClose(ffhandle);
|
||||
@@ -146,7 +146,7 @@ foundfile_buffer(void)
|
||||
}
|
||||
|
||||
long
|
||||
filesize(char* file)
|
||||
filesize(char *file)
|
||||
{
|
||||
if (findfirst(file)) {
|
||||
return ((long) ffd.nFileSizeLow);
|
||||
@@ -158,7 +158,7 @@ filesize(char* file)
|
||||
* Chdrive() changes the default drive.
|
||||
*/
|
||||
void
|
||||
chdrive(char* str)
|
||||
chdrive(char *str)
|
||||
{
|
||||
char *ptr;
|
||||
char drive;
|
||||
|
||||
Reference in New Issue
Block a user