i3lock-color

The world's most popular non-default computer lockscreen.
Index Commits Files Refs README LICENSE
commit 526c743369453c6565f67cb91a24adc807d185b3
parent 198eccde2467c0cff5f7f8429af3dc4885f29c53
Author: Michael Ortmann <41313082+michaelortmann@users.noreply.github.com>
Date:   Wed, 15 Jul 2020 02:02:57 +0200

Make 2 more functions static

Diffstat:
Mi3lock.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/i3lock.c b/i3lock.c
@@ -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);