Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add some forward declarations to the example programs to silence warn…

…ings
  • Loading branch information...
commit 5f2bdb29302de2335944f4e9148cbdf973b71521 1 parent 3390389
Andrew Whitworth authored
Showing with 6 additions and 2 deletions.
  1. +2 −0  ls.winxed
  2. +4 −2 nl.winxed
2  ls.winxed
View
@@ -1,3 +1,5 @@
+class Rosella.FileSystem.Directory;
+
function show_help(var args) {
print("Usage: ");
print(args[0]);
6 nl.winxed
View
@@ -1,3 +1,5 @@
+class Rosella.FileSystem.File;
+
function out(var output, var all) {
var i = 0;
for(string s in output) {
@@ -25,9 +27,9 @@ function main[main](var args) {
var all;
for(var i = 1; i < args; i++) {
var arg = args[i];
- if(arg == "-t")
+ if(arg == "-t")
all = false;
- else if(arg == "-a")
+ else if(arg == "-a")
all = true;
else if(arg == "-h" || arg == "--help")
show_help(args);
Please sign in to comment.
Something went wrong with that request. Please try again.