]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
On Windows, remove la_exit function which is used for debugging.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Thu, 5 Mar 2009 12:50:58 +0000 (07:50 -0500)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Thu, 5 Mar 2009 12:50:58 +0000 (07:50 -0500)
SVN-Revision: 726

tar/bsdtar_windows.c
tar/bsdtar_windows.h

index f61a4e9a0df1e84fe5ade9124086d52423440e0d..ea99f1629fafd4c77cddf30a8ce7c6059b702249 100644 (file)
@@ -566,16 +566,6 @@ la_chdir(const char *path)
        return (0);
 }
 
-/*
- * This function will be removed.
- * Only use for debugging.
- */
-void
-la_exit(int status)
-{
-       _exit(status);
-}
-
 __int64
 la_lseek(int fd, __int64 offset, int whence)
 {
index 8eea341a79b333281d990928995412f5541a4fca..5dfe02c5b533c2ddaad11feeae0d428a7370a0cc 100644 (file)
@@ -29,7 +29,6 @@
 #define BSDTAR_WINDOWS_H 1
 
 #define PRId64 "I64"
-#define exit           la_exit
 #define geteuid()      0
 
 struct __DIR;
@@ -43,8 +42,6 @@ struct direct {
 extern "C" {
 #endif
 
-extern void    la_exit(int status);
-
 extern DIR     *opendir(const char *path);
 extern struct dirent *readdir(DIR *dirp);
 extern int     closedir(DIR *dirp);