summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-10-17 12:57:11 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-10-17 12:57:11 +0000
commite6db5073f96603831a80f0f90d4c5e8a7f4d7369 (patch)
tree6704ca7b7f46953545ceee665d7e54e6d2844662 /cpukit
parent2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-e6db5073f96603831a80f0f90d4c5e8a7f4d7369.tar.bz2
2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/main_ls.c: Comment out unused var kflag.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog1
-rw-r--r--cpukit/libmisc/shell/main_ls.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 0e2b021015..d13ff924d5 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,6 @@
2011-10-17 Ralf Corsépius <ralf.corsepius@rtems.org>
+ * libmisc/shell/main_ls.c: Comment out unused var kflag.
* posix/src/ualarm.c: Make _POSIX_signals_Ualarm_TSR static.
2011-10-12 Ralf Corsépius <ralf.corsepius@rtems.org>
diff --git a/cpukit/libmisc/shell/main_ls.c b/cpukit/libmisc/shell/main_ls.c
index 08072fb723..0b5703637a 100644
--- a/cpukit/libmisc/shell/main_ls.c
+++ b/cpukit/libmisc/shell/main_ls.c
@@ -153,7 +153,9 @@ main_ls(rtems_shell_ls_globals* globals, int argc, char *argv[])
static char dot[] = ".", *dotav[] = { dot, NULL };
//struct winsize win;
int ch, fts_options;
+#if RTEMS_REMOVED
int kflag = 0;
+#endif
const char *p;
struct getopt_data getopt_reent;
@@ -267,7 +269,9 @@ main_ls(rtems_shell_ls_globals* globals, int argc, char *argv[])
break;
case 'k':
blocksize = 1024;
+#if RTEMS_REMOVED
kflag = 1;
+#endif
break;
/* The -h option forces all sizes to be measured in bytes. */
case 'h':