From: Michihiro NAKAJIMA Date: Thu, 5 Mar 2009 12:50:58 +0000 (-0500) Subject: On Windows, remove la_exit function which is used for debugging. X-Git-Tag: v2.7.0~202 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cb4ac79f73e3bf30612845889f8255f272bb538;p=thirdparty%2Flibarchive.git On Windows, remove la_exit function which is used for debugging. SVN-Revision: 726 --- diff --git a/tar/bsdtar_windows.c b/tar/bsdtar_windows.c index f61a4e9a0..ea99f1629 100644 --- a/tar/bsdtar_windows.c +++ b/tar/bsdtar_windows.c @@ -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) { diff --git a/tar/bsdtar_windows.h b/tar/bsdtar_windows.h index 8eea341a7..5dfe02c5b 100644 --- a/tar/bsdtar_windows.h +++ b/tar/bsdtar_windows.h @@ -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);