Index: uspace/lib/c/generic/vfs/vfs.c
===================================================================
--- uspace/lib/c/generic/vfs/vfs.c	(revision 23a0368c8849e72c980ea32ce3092dffde6cf9e8)
+++ uspace/lib/c/generic/vfs/vfs.c	(revision ae7bfbbd6c5f88b20c47f0b8dec92d82046a2b33)
@@ -959,14 +959,4 @@
 }
 
-/** Remove directory entry.
- *
- * @param path Path
- * @return 0 on success. On error returns -1 and sets errno.
- */
-int remove(const char *path)
-{
-	return unlink(path);
-}
-
 /** Change working directory.
  *
Index: uspace/lib/c/include/stdio.h
===================================================================
--- uspace/lib/c/include/stdio.h	(revision 23a0368c8849e72c980ea32ce3092dffde6cf9e8)
+++ uspace/lib/c/include/stdio.h	(revision ae7bfbbd6c5f88b20c47f0b8dec92d82046a2b33)
@@ -143,5 +143,4 @@
 /* Misc file functions */
 extern int rename(const char *, const char *);
-extern int remove(const char *);
 
 #endif
Index: uspace/lib/pcut/src/os/generic.c
===================================================================
--- uspace/lib/pcut/src/os/generic.c	(revision 23a0368c8849e72c980ea32ce3092dffde6cf9e8)
+++ uspace/lib/pcut/src/os/generic.c	(revision ae7bfbbd6c5f88b20c47f0b8dec92d82046a2b33)
@@ -137,5 +137,5 @@
 	fread(extra_output_buffer, 1, OUTPUT_BUFFER_SIZE, tempfile);
 	fclose(tempfile);
-	remove(tempfile_name);
+	unlink(tempfile_name);
 
 	pcut_report_test_done_unparsed(test, rc, extra_output_buffer, OUTPUT_BUFFER_SIZE);
Index: uspace/lib/posix/source/stdio.c
===================================================================
--- uspace/lib/posix/source/stdio.c	(revision 23a0368c8849e72c980ea32ce3092dffde6cf9e8)
+++ uspace/lib/posix/source/stdio.c	(revision ae7bfbbd6c5f88b20c47f0b8dec92d82046a2b33)
@@ -576,5 +576,5 @@
 int posix_remove(const char *path)
 {
-	return negerrno(remove, path);
+	return negerrno(unlink, path);
 }
 
