Minor style cleanups.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26944 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2008-08-12 14:43:46 +00:00
parent edc51252d3
commit 2bf5ba0562
+5 -2
View File
@@ -76,7 +76,9 @@ entry_ref::entry_ref()
\param name the leaf name of the entry, which is not required to exist \param name the leaf name of the entry, which is not required to exist
*/ */
entry_ref::entry_ref(dev_t dev, ino_t dir, const char *name) entry_ref::entry_ref(dev_t dev, ino_t dir, const char *name)
: device(dev), directory(dir), name(NULL) : device(dev),
directory(dir),
name(NULL)
{ {
set_name(name); set_name(name);
} }
@@ -105,7 +107,8 @@ entry_ref::~entry_ref()
\param name pointer to a null-terminated string containing the new name for \param name pointer to a null-terminated string containing the new name for
the entry. May be \c NULL. the entry. May be \c NULL.
*/ */
status_t entry_ref::set_name(const char *name) status_t
entry_ref::set_name(const char *name)
{ {
free(this->name); free(this->name);