summaryrefslogtreecommitdiff
path: root/cic.c
diff options
context:
space:
mode:
authorJohn Vogel <jvogel4@stny.rr.com>2015-12-06 11:53:04 -0500
committerJohn Vogel <jvogel4@stny.rr.com>2015-12-06 11:53:04 -0500
commita2bb6935751bc7e941af49f39e4c8837792fc602 (patch)
tree160318362ba58c66cd2aeb84e3700217d774144c /cic.c
parentb7f31f3af60fd37599b93ea32ac3cb95366d14c8 (diff)
downloadcic-a2bb6935751bc7e941af49f39e4c8837792fc602.tar.gz
Fix style to match original upstreamHEADmaster
Diffstat (limited to 'cic.c')
-rw-r--r--cic.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/cic.c b/cic.c
index ddc99b3..461b1ee 100644
--- a/cic.c
+++ b/cic.c
@@ -159,7 +159,8 @@ parsesrv(char *cmd) {
}
}
-int getinput(char *buf, size_t sz)
+static int
+getinput(char *buf, size_t sz)
{
int ch;
size_t ret = 0;
@@ -213,7 +214,8 @@ done:
return ret;
}
-void gettermsize(void)
+static void
+gettermsize(void)
{
struct winsize w;
@@ -227,7 +229,8 @@ void gettermsize(void)
wsetscrreg(viewwin, 0, rows-2);
}
-void doresize(void)
+static void
+doresize(void)
{
int ch;
@@ -251,17 +254,20 @@ void doresize(void)
wrefresh(inputwin);
}
-void sigint(int unused)
+static void
+sigint(int unused)
{
running = 0;
}
-void sigwinch(int unused)
+static void
+sigwinch(int unused)
{
got_sigwinch = 1;
}
-void cleanup(void)
+static void
+cleanup(void)
{
fclose(srv);
fclose(log);