more pointer style consistency
This commit is contained in:
@@ -139,7 +139,7 @@ xpm_write(FILE *fp)
|
||||
}
|
||||
|
||||
Fprintf(fp, "/* XPM */\n");
|
||||
Fprintf(fp, "static char* nhtiles[] = {\n");
|
||||
Fprintf(fp, "static char *nhtiles[] = {\n");
|
||||
Fprintf(fp, "\"%lu %lu %lu %d\",\n", header.tile_width * header.per_row,
|
||||
(header.tile_height * header.ntiles) / header.per_row,
|
||||
header.ncolors, 1 /* char per color */);
|
||||
|
||||
@@ -157,7 +157,7 @@ color_attr curses_menu_promptstyle = { NO_COLOR, ATR_NONE };
|
||||
static int inv_update = 0;
|
||||
|
||||
/*
|
||||
init_nhwindows(int* argcp, char** argv)
|
||||
init_nhwindows(int *argcp, char **argv)
|
||||
-- Initialize the windows used by NetHack. This can also
|
||||
create the standard windows listed at the top, but does
|
||||
not display them.
|
||||
|
||||
@@ -430,7 +430,7 @@ safe_outrip(winid tmpwin UNUSED, int how UNUSED, time_t when UNUSED)
|
||||
|
||||
/*ARGSUSED*/
|
||||
void
|
||||
safe_preference_update(const char* pref UNUSED)
|
||||
safe_preference_update(const char *pref UNUSED)
|
||||
{
|
||||
return;
|
||||
}
|
||||
@@ -518,7 +518,7 @@ stdio_wait_synch(void)
|
||||
|
||||
/* Add to your code: windowprocs.win_raw_print = stdio_raw_print; */
|
||||
void
|
||||
stdio_raw_print(const char* str)
|
||||
stdio_raw_print(const char *str)
|
||||
{
|
||||
if (str)
|
||||
fprintf(stdout, "%s\n", str);
|
||||
@@ -528,7 +528,7 @@ stdio_raw_print(const char* str)
|
||||
/* no newline variation, add to your code:
|
||||
windowprocs.win_raw_print = stdio_nonl_raw_print; */
|
||||
void
|
||||
stdio_nonl_raw_print(const char* str)
|
||||
stdio_nonl_raw_print(const char *str)
|
||||
{
|
||||
if (str)
|
||||
fprintf(stdout, "%s", str);
|
||||
@@ -537,7 +537,7 @@ stdio_nonl_raw_print(const char* str)
|
||||
|
||||
/* Add to your code: windowprocs.win_raw_print_bold = stdio_raw_print_bold; */
|
||||
void
|
||||
stdio_raw_print_bold(const char* str)
|
||||
stdio_raw_print_bold(const char *str)
|
||||
{
|
||||
stdio_raw_print(str);
|
||||
return;
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
#ifdef DEBUG
|
||||
# ifdef _DEBUG
|
||||
static FILE* _s_debugfp = NULL;
|
||||
static FILE *_s_debugfp = NULL;
|
||||
extern void logDebug(const char *fmt, ...);
|
||||
# endif
|
||||
#endif
|
||||
@@ -128,7 +128,7 @@ struct window_procs mswin_procs = {
|
||||
};
|
||||
|
||||
/*
|
||||
init_nhwindows(int* argcp, char** argv)
|
||||
init_nhwindows(int *argcp, char **argv)
|
||||
-- Initialize the windows used by NetHack. This can also
|
||||
create the standard windows listed at the top, but does
|
||||
not display them.
|
||||
|
||||
Reference in New Issue
Block a user