-- Leo's gemini proxy

-- Connecting to git.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

repo: rxvt-unicode-sixel
action: commit
revision:
path_from:
revision_from: 390b67460e9012dfef719a4ab2be37170fab89be:
path_to:
revision_to:

git.thebackupbox.net

rxvt-unicode-sixel

git://git.thebackupbox.net/rxvt-unicode-sixel

commit 390b67460e9012dfef719a4ab2be37170fab89be
Author: Marc Lehmann <schmorp@schmorp.de>
Date:   Sat Jul 17 00:14:54 2021 +0000

    formatting, modernize

diff --git a/src/rclock.C b/src/rclock.C

index 09fd1501ac955da48776ef5a6b15c7bbaae8ca47..

index ..882202ae9b49ae76d2d4f1ceb5411d64df6616f0 100644

--- a/src/rclock.C
+++ b/src/rclock.C
@@ -306,17 +306,14 @@ static XSizeHints szHint = {
 };

 /* subroutine declarations */
-static void geometry2sizehint (mywindow_t * /* win */ ,
-                               const char * /* geom */ );
-static void Create_Windows (int /* argc */ ,
-                            char * /* argv */ []);
+static void geometry2sizehint (mywindow_t *win, const char *geom);
+static void Create_Windows (int argc, char *argv[]);
 static void getXevent ();
-static void print_error (const char * /* fmt */ , ...);
+static void print_error (const char *fmt, ...);

-static void Draw_Window (mywindow_t * /* this_win */ ,
-                         int /* full_redraw */ );
+static void Draw_Window (mywindow_t *this_win, int full_redraw);
 static void Reminder ();
-static void Next_Reminder (int /* update_only */ );
+static void Next_Reminder (int update_only);

 /* Arguments for Next_Reminder() */
 #define REPLACE 0
@@ -638,7 +635,7 @@ Abort:
  * translate geometry string to appropriate sizehint
  */
 static void
-geometry2sizehint (mywindow_t * win, const char *geom)
+geometry2sizehint (mywindow_t *win, const char *geom)
 {
   int x, y, flags;
   unsigned int width, height;
@@ -772,7 +769,11 @@ Create_Windows (int argc, char *argv[])
 static time_t
 mk_time (struct tm *tmval)
 {
-  return (tmval->tm_min + 60 * (tmval->tm_hour + 24 * (tmval->tm_mday + 31 * ((tmval->tm_mon + 1) + 12 * tmval->tm_year))));
+  return (tmval->tm_min
+          + 60 * (tmval->tm_hour
+                  + 24 * (tmval->tm_mday
+                          + 31 * ((tmval->tm_mon + 1)
+                                  + 12 * tmval->tm_year))));
 }

 #ifdef MAIL
@@ -813,7 +814,7 @@ MailAvailable ()
  * Provide reminder if needed.
  *----------------------------------------------------------------------*/
 static void
-Draw_Window (mywindow_t * W, int full_redraw)
+Draw_Window (mywindow_t *W, int full_redraw)
 {
   static int savedDay = -1;

-----END OF PAGE-----

-- Response ended

-- Page fetched on Sun Jun 2 14:08:14 2024