Fix build.

This commit is contained in:
Nicholas Marriott
2025-08-22 12:58:19 +01:00
parent 2070731af1
commit bb4866047a
2 changed files with 1 additions and 5 deletions

4
tmux.h
View File

@ -3530,10 +3530,6 @@ int utf8_is_modifier(const struct utf8_data *);
enum hanguljamo_state hanguljamo_check_state(const struct utf8_data *, enum hanguljamo_state hanguljamo_check_state(const struct utf8_data *,
const struct utf8_data *); const struct utf8_data *);
/* procname.c */
char *get_proc_name(int, char *);
char *get_proc_cwd(int);
/* log.c */ /* log.c */
void log_add_level(void); void log_add_level(void);
int log_get_level(void); int log_get_level(void);

View File

@ -861,7 +861,7 @@ window_tree_search(__unused void *modedata, void *itemdata, const char *ss)
case WINDOW_TREE_PANE: case WINDOW_TREE_PANE:
if (s == NULL || wl == NULL || wp == NULL) if (s == NULL || wl == NULL || wp == NULL)
break; break;
cmd = get_proc_name(wp->fd, wp->tty); cmd = osdep_get_name(wp->fd, wp->tty);
if (cmd == NULL || *cmd == '\0') { if (cmd == NULL || *cmd == '\0') {
free(cmd); free(cmd);
return (0); return (0);