]> code.citadel.org Git - citadel.git/blobdiff - textclient/screen.c
Grammar change in the license declaration.
[citadel.git] / textclient / screen.c
index eac342f4b0352cc25b42f6500959dbf4918fde80..ea4fc5d9e5b599605895917682f883defdc2254f 100644 (file)
@@ -3,7 +3,7 @@
 // Copyright (c) 1987-2021 by the citadel.org team
 //
 // This program is open source software.  Use, duplication, and/or
-// disclosure are subject to the GNU General Purpose License version 3.
+// disclosure is subject to the GNU General Purpose License version 3.
 //
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -208,7 +208,7 @@ static volatile int caught_sigwinch = 0;
  * scr_winch() handles window size changes from SIGWINCH
  * resizes all our windows for us
  */
-sighandler_t scr_winch(int signum) {
+void scr_winch(int signum) {
        /* if we receive this signal, we must be running
         * in a terminal that supports resizing.
         */
@@ -230,16 +230,16 @@ void scr_wait_indicator(int state) {
        if (screenwidth > 0) {
                switch (state) {
                default:
-               case 0: /* Idle */
+               case 0: // Idle
                        status_line[sp] = ' ';
                        break;
-               case 1: /* Waiting */
+               case 1: // Waiting
                        status_line[sp] = 'X';
                        break;
-               case 2: /* Receiving */
+               case 2: // Receiving
                        status_line[sp] = '<';
                        break;
-               case 3: /* Sending */
+               case 3: // Sending
                        status_line[sp] = '>';
                        break;
                }