Valgrind + gcc -pedantic fixes

This commit is contained in:
Aaron Gutierrez
2020-06-12 18:38:03 -07:00
parent cddaf13050
commit 711e9a4042
4 changed files with 11 additions and 7 deletions

4
ncac.c
View File

@@ -5,6 +5,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include <term.h>
#include "asana/asana.h"
@@ -80,7 +81,8 @@ int main(/*int argc, char **argv*/) {
return 0;
}
static void finish(/*int sig*/) {
static void finish(int sig) {
(void)sig;
endwin();
asana_cleanup();
exit(0);