mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Move declaration of frontend_is_utf8 into putty.h.
It's a function that exists on all platforms, not just on Unix - it's used in ldisc.c - so it shouldn't have been declared only in unix.h. Score another for clang's warnings.
This commit is contained in:
parent
13d52fcb03
commit
8923a1b488
1
putty.h
1
putty.h
@ -671,6 +671,7 @@ enum {
|
||||
BUSY_CPU /* Locally busy (e.g. crypto); user interaction suspended */
|
||||
};
|
||||
void set_busy_status(void *frontend, int status);
|
||||
int frontend_is_utf8(void *frontend);
|
||||
|
||||
void cleanup_exit(int);
|
||||
|
||||
|
@ -125,7 +125,6 @@ void gtkcomm_setup(void);
|
||||
const char *get_x_display(void *frontend);
|
||||
int font_dimension(void *frontend, int which);/* 0 for width, 1 for height */
|
||||
long get_windowid(void *frontend);
|
||||
int frontend_is_utf8(void *frontend);
|
||||
|
||||
/* Things gtkdlg.c needs from pterm.c */
|
||||
void *get_window(void *frontend); /* void * to avoid depending on gtk.h */
|
||||
|
Loading…
Reference in New Issue
Block a user