From 4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 27 Mar 2012 11:51:08 +0200 Subject: reorganize file structure to match the upstream requirements --- pintos-progos/examples/rm.c | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 pintos-progos/examples/rm.c (limited to 'pintos-progos/examples/rm.c') diff --git a/pintos-progos/examples/rm.c b/pintos-progos/examples/rm.c deleted file mode 100644 index 0db7f7b..0000000 --- a/pintos-progos/examples/rm.c +++ /dev/null @@ -1,21 +0,0 @@ -/* rm.c - - Removes files specified on command line. */ - -#include -#include - -int -main (int argc, char *argv[]) -{ - bool success = true; - int i; - - for (i = 1; i < argc; i++) - if (!remove (argv[i])) - { - printf ("%s: remove failed\n", argv[i]); - success = false; - } - return success ? EXIT_SUCCESS : EXIT_FAILURE; -} -- cgit v1.2.3