X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fremdir.c;fp=sbr%2Fremdir.c;h=0000000000000000000000000000000000000000;hp=397a6893c2a55ff345be6e6df3a81142b426fdb4;hb=b067ff5c465a5d243ce5a19e562085a9a1a97215;hpb=a485ed478abbd599d8c9aab48934e7a26733ecb1 diff --git a/sbr/remdir.c b/sbr/remdir.c deleted file mode 100644 index 397a689..0000000 --- a/sbr/remdir.c +++ /dev/null @@ -1,23 +0,0 @@ -/* - * remdir.c -- remove a directory - * - * This code is Copyright (c) 2002, by the authors of nmh. See the - * COPYRIGHT file in the root directory of the nmh distribution for - * complete copyright information. - */ - -#include - - -int -remdir (char *dir) -{ - context_save(); /* save the context file */ - fflush(stdout); - - if (rmdir(dir) == -1) { - admonish (dir, "unable to remove directory"); - return 0; - } - return 1; -}