]> git.mdlowis.com Git - archive/afm.git/commitdiff
+Wall to compiler flags. rm unnecessary declaration
authorabellenir <a@bellenir.com>
Sun, 27 Jul 2014 03:11:30 +0000 (03:11 +0000)
committerabellenir <a@bellenir.com>
Sun, 27 Jul 2014 03:11:30 +0000 (03:11 +0000)
Rakefile
source/workdir.c

index f3d8e46f2d87b769d93b0994b440cbf0088f3140..7f93db2179753e83fcaa6112bf1176dcfed91fd8 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -24,7 +24,7 @@ Env = Rscons::Environment.new do |env|
   env.build_dir('modules','build/obj/modules')
   env['LIBS'] = ['ncurses']
   env['CPPPATH'] += Dir['modules/data-structures/source/**/']
-  #env['CFLAGS'] += ['-Wall']
+  env['CFLAGS'] += ['-Wall']
   env['CFLAGS'] += ['-Werror', '-pedantic', '--std=c99']
 
   # Platform-specific Defines
index 625acb67be3da296b73c2578fe772cf73eac7bba..19d2583b99d50a5799e95d9746ff62d6c0589c38 100644 (file)
@@ -15,8 +15,6 @@
 #include "workdir.h"
 #include "screen.h"
 
-static void get_files(int windex);
-
 bool is_dir(char* path) {
     struct stat s;
     return ((stat(path, &s) == 0) && (s.st_mode & S_IFDIR));