[hackers] [sbase] Refactor unlink(1) code and manpage || FRIGN

From: <git_AT_suckless.org>
Date: Sun, 8 Feb 2015 22:22:47 +0100 (CET)

commit 26f8fb4948b99050a30922c66aa4437b319fce92
Author: FRIGN <dev_AT_frign.de>
Date: Sun Feb 8 21:59:27 2015 +0100

    Refactor unlink(1) code and manpage
    
    Remove superfluous stdlib.h-include.

diff --git a/README b/README
index daedbc3..bc6b356 100644
--- a/README
+++ b/README
_AT_@ -75,7 +75,7 @@ The following tools are implemented ('*' == finished, '#' == UTF-8 support,
 =* uname yes none
 #* unexpand yes none
 = uniq no -f, -s
-= unlink yes none
+=* unlink yes none
 = uudecode no -o
 = uuencode no -m
    seq non-posix none
diff --git a/unlink.1 b/unlink.1
index 2830ee2..9d9a35c 100644
--- a/unlink.1
+++ b/unlink.1
_AT_@ -1,17 +1,23 @@
-.Dd January 30, 2015
+.Dd February 8, 2015
 .Dt UNLINK 1
 .Os sbase
 .Sh NAME
 .Nm unlink
-.Nd call the unlink function
+.Nd unlink file
 .Sh SYNOPSIS
 .Nm
 .Ar file
 .Sh DESCRIPTION
 .Nm
-calls the
+calls
 .Xr unlink 2
-function on
+on
 .Ar file .
 .Sh SEE ALSO
 .Xr unlink 2
+.Sh STANDARDS
+The
+.Nm
+utility is compliant with the
+.St -p1003.1-2008
+specification.
diff --git a/unlink.c b/unlink.c
index 777ec54..f2a1fff 100644
--- a/unlink.c
+++ b/unlink.c
_AT_@ -1,5 +1,4 @@
 /* See LICENSE file for copyright and license details. */
-#include <stdlib.h>
 #include <unistd.h>
 
 #include "util.h"
Received on Sun Feb 08 2015 - 22:22:47 CET

This archive was generated by hypermail 2.3.0 : Sun Feb 08 2015 - 22:24:09 CET