]> git.lyx.org Git - lyx.git/blob - src/support/unlink.C
remove unused stuff
[lyx.git] / src / support / unlink.C
1 /**
2  * \file unlink.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author Lars Gullik Bjønnes
7  *
8  * Full author contact details are available in file CREDITS.
9  */
10
11 #include <config.h>
12
13 #include "support/lyxlib.h"
14 #include "support/filename.h"
15
16
17 namespace lyx {
18 namespace support {
19
20 #ifdef HAVE_UNISTD_H
21 # include <unistd.h>
22 #endif
23
24 int unlink(FileName const & pathname)
25 {
26         return ::unlink(pathname.toFilesystemEncoding().c_str());
27 }
28
29
30 } // namespace support
31 } // namespace lyx