]> git.sur5r.net Git - cc65/commitdiff
Added unlink()
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 12 Jun 2003 08:43:57 +0000 (08:43 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 12 Jun 2003 08:43:57 +0000 (08:43 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2210 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/common/Makefile
libsrc/common/unlink.s [new file with mode: 0644]

index 273dec7dcf40ff6dbbe10e950376cab43563ff6a..1de5b9a93e0f106925671c9f6739d00e8595f9c6 100644 (file)
@@ -138,6 +138,7 @@ S_OBJS =    _fdesc.o        \
                 time.o          \
                tolower.o       \
                toupper.o       \
+                unlink.o        \
                vfprintf.o      \
                vprintf.o       \
                vsprintf.o      \
diff --git a/libsrc/common/unlink.s b/libsrc/common/unlink.s
new file mode 100644 (file)
index 0000000..b210868
--- /dev/null
@@ -0,0 +1,13 @@
+;
+; Ullrich von Bassewitz, 2003-06-12
+;
+; int __fastcall__ unlink (const char* name);
+;
+
+        .export         _unlink
+        .import         _remove
+
+; unlink is just an alias for remove
+
+        _unlink = _remove
+