mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 19:12:48 -05:00
Formatting: remove spurious spaces in 'type * var'.
I think a lot of these were inserted by a prior run through GNU indent many years ago. I noticed in a more recent experiment that that tool doesn't always correctly distinguish which instances of 'id * id' are pointer variable declarations and which are multiplications, so it spaces some of the former as if they were the latter.
This commit is contained in:
@ -220,8 +220,8 @@ DECL_WINDOWS_FUNCTION(static, int, getaddrinfo,
|
||||
const struct addrinfo *hints, struct addrinfo **res));
|
||||
DECL_WINDOWS_FUNCTION(static, void, freeaddrinfo, (struct addrinfo *res));
|
||||
DECL_WINDOWS_FUNCTION(static, int, getnameinfo,
|
||||
(const struct sockaddr FAR * sa, socklen_t salen,
|
||||
char FAR * host, DWORD hostlen, char FAR * serv,
|
||||
(const struct sockaddr FAR *sa, socklen_t salen,
|
||||
char FAR *host, DWORD hostlen, char FAR *serv,
|
||||
DWORD servlen, int flags));
|
||||
DECL_WINDOWS_FUNCTION(static, int, WSAAddressToStringA,
|
||||
(LPSOCKADDR, DWORD, LPWSAPROTOCOL_INFO,
|
||||
|
@ -435,7 +435,7 @@ static const struct cp_list_item cp_list[] = {
|
||||
{0, 0}
|
||||
};
|
||||
|
||||
static void link_font(WCHAR * line_tbl, WCHAR * font_tbl, WCHAR attr);
|
||||
static void link_font(WCHAR *line_tbl, WCHAR *font_tbl, WCHAR attr);
|
||||
|
||||
/*
|
||||
* We keep a collection of reverse mappings from Unicode back to code pages,
|
||||
@ -689,7 +689,7 @@ void init_ucs(Conf *conf, struct unicode_data *ucsdata)
|
||||
}
|
||||
}
|
||||
|
||||
static void link_font(WCHAR * line_tbl, WCHAR * font_tbl, WCHAR attr)
|
||||
static void link_font(WCHAR *line_tbl, WCHAR *font_tbl, WCHAR attr)
|
||||
{
|
||||
int font_index, line_index, i;
|
||||
for (line_index = 0; line_index < 256; line_index++) {
|
||||
@ -1200,7 +1200,7 @@ const char *cp_enumerate(int index)
|
||||
return cp_list[index].name;
|
||||
}
|
||||
|
||||
void get_unitab(int codepage, wchar_t * unitab, int ftype)
|
||||
void get_unitab(int codepage, wchar_t *unitab, int ftype)
|
||||
{
|
||||
char tbuf[4];
|
||||
int i, max = 256, flg = MB_ERR_INVALID_CHARS;
|
||||
|
@ -122,7 +122,7 @@ static int prev_rows, prev_cols;
|
||||
|
||||
static void flash_window(int mode);
|
||||
static void sys_cursor_update(void);
|
||||
static bool get_fullscreen_rect(RECT * ss);
|
||||
static bool get_fullscreen_rect(RECT *ss);
|
||||
|
||||
static int caret_x = -1, caret_y = -1;
|
||||
|
||||
@ -5743,7 +5743,7 @@ static bool is_full_screen()
|
||||
/* Get the rect/size of a full screen window using the nearest available
|
||||
* monitor in multimon systems; default to something sensible if only
|
||||
* one monitor is present. */
|
||||
static bool get_fullscreen_rect(RECT * ss)
|
||||
static bool get_fullscreen_rect(RECT *ss)
|
||||
{
|
||||
#if defined(MONITOR_DEFAULTTONEAREST) && !defined(NO_MULTIMON)
|
||||
if (p_GetMonitorInfoA && p_MonitorFromWindow) {
|
||||
|
Reference in New Issue
Block a user