summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/unlink.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-04-18 06:05:35 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-04-18 06:05:35 +0000
commit50f32b11653429546d7b8ff2693b5232b885e201 (patch)
treea8821a7e3025ef47082cc21ccbb56551382cdc3f /cpukit/libcsupport/src/unlink.c
parentRemove stray white spaces. (diff)
downloadrtems-50f32b11653429546d7b8ff2693b5232b885e201.tar.bz2
Remove stray white spaces.
Diffstat (limited to 'cpukit/libcsupport/src/unlink.c')
-rw-r--r--cpukit/libcsupport/src/unlink.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libcsupport/src/unlink.c b/cpukit/libcsupport/src/unlink.c
index 5494b707b6..5b5f17c02a 100644
--- a/cpukit/libcsupport/src/unlink.c
+++ b/cpukit/libcsupport/src/unlink.c
@@ -20,8 +20,8 @@
#include <rtems/libio_.h>
#include <rtems/seterr.h>
-int unlink(
- const char *path
+int unlink(
+ const char *path
)
{
rtems_filesystem_location_info_t loc;
@@ -34,7 +34,7 @@ int unlink(
result = rtems_filesystem_evaluate_path( path, 0, &loc, FALSE );
if ( result != 0 )
return -1;
-
+
result = rtems_filesystem_evaluate_parent(RTEMS_LIBIO_PERMS_WRITE, &loc );
if (result != 0){
rtems_filesystem_freenode( &loc );
@@ -59,7 +59,7 @@ int unlink(
result = (*loc.ops->unlink_h)( &loc );
rtems_filesystem_freenode( &loc );
-
+
return result;
}