comparison src/job.c @ 25567:0082503ff2ff v8.2.3320

patch 8.2.3320: some local functions are not static Commit: https://github.com/vim/vim/commit/8ee52affe7fd4daa03e002bc06611f0a8c3bcd5b Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Mon Aug 9 19:59:06 2021 +0200 patch 8.2.3320: some local functions are not static Problem: Some local functions are not static. Solution: Add "static". Move snprintf() related code to strings.c. (Yegappan Lakshmanan, closes #8734)
author Bram Moolenaar <Bram@vim.org>
date Mon, 09 Aug 2021 20:00:06 +0200
parents e8e2c4d33b9b
children 838a0108a92d
comparison
equal deleted inserted replaced
25566:e1c7aa26ddf5 25567:0082503ff2ff
1580 } 1580 }
1581 1581
1582 /* 1582 /*
1583 * Return the effective prompt for the specified buffer. 1583 * Return the effective prompt for the specified buffer.
1584 */ 1584 */
1585 char_u * 1585 static char_u *
1586 buf_prompt_text(buf_T* buf) 1586 buf_prompt_text(buf_T* buf)
1587 { 1587 {
1588 if (buf->b_prompt_text == NULL) 1588 if (buf->b_prompt_text == NULL)
1589 return (char_u *)"% "; 1589 return (char_u *)"% ";
1590 return buf->b_prompt_text; 1590 return buf->b_prompt_text;