Merge pull request #283 from michaelortmann/static

Make 2 more functions static
pull/289/head
Orestis Floros 2020-07-15 12:03:26 +02:00 committed by GitHub
commit 79d102a70d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ bool skip_repeated_empty_password = false;
* Decrements i to point to the previous unicode glyph
*
*/
void u8_dec(char *s, int *i) {
static void u8_dec(char *s, int *i) {
(void)(isutf(s[--(*i)]) || isutf(s[--(*i)]) || isutf(s[--(*i)]) || --(*i));
}
@ -613,7 +613,7 @@ static void process_xkb_event(xcb_generic_event_t *gevent) {
* and also redraw the image, if any.
*
*/
void handle_screen_resize(void) {
static void handle_screen_resize(void) {
xcb_get_geometry_cookie_t geomc;
xcb_get_geometry_reply_t *geom;
geomc = xcb_get_geometry(conn, screen->root);