Make some data types consistent.

This commit is contained in:
nicm
2020-05-25 15:02:25 +00:00
parent 4589297e43
commit bbfb44e9b2
3 changed files with 39 additions and 14 deletions

8
tmux.h
View File

@ -673,7 +673,7 @@ struct grid_cell {
/* Grid extended cell entry. */
struct grid_extd_entry {
uint32_t data;
u_int data;
u_short attr;
u_char flags;
int fg;
@ -2889,9 +2889,9 @@ u_int session_group_attached_count(struct session_group *);
void session_renumber_windows(struct session *);
/* utf8.c */
uint32_t utf8_set_big(char, u_int);
uint32_t utf8_map_big(const struct utf8_data *);
void utf8_get_big(uint32_t, struct utf8_data *);
u_int utf8_set_big(char, u_int);
u_int utf8_map_big(const struct utf8_data *);
void utf8_get_big(u_int, struct utf8_data *);
void utf8_set(struct utf8_data *, u_char);
void utf8_copy(struct utf8_data *, const struct utf8_data *);
enum utf8_state utf8_open(struct utf8_data *, u_char);