From eba4aff8fec97cbce3bb4ead1ed5e9857ebb95ef Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Thu, 24 May 2007 09:40:43 +0200 Subject: [PATCH] Remove now unused dummy functions related to timer signal handling. --- compat/mingw.c | 13 ------------- git-compat-util.h | 13 ------------- 2 files changed, 26 deletions(-) diff --git a/compat/mingw.c b/compat/mingw.c index 14fabcbbc0..fa6f5f4504 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -51,19 +51,6 @@ int kill(pid_t pid, int sig) { return -1; } -int sigaction(int p1, const struct sigaction *p2, struct sigaction *p3) -{ - return -1; -} -int sigemptyset(sigset_t *p1) -{ - return -1; -} -int setitimer(int __which, const struct itimerval *__value, - struct itimerval *__ovalue) -{ - return -1; -} unsigned int sleep (unsigned int __seconds) { Sleep(__seconds*1000); diff --git a/git-compat-util.h b/git-compat-util.h index 7ae57d6019..515331d0b5 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -416,19 +416,6 @@ int poll(struct pollfd *ufds, unsigned int nfds, int timeout); #define POLLIN 1 #define POLLHUP 2 -typedef int siginfo_t; -struct sigaction { - void (*sa_handler)(int); - void (*sa_sigaction)(int, siginfo_t *, void *); - sigset_t sa_mask; - int sa_flags; - void (*sa_restorer)(void); -}; -#define SA_RESTART 0 -#define ITIMER_REAL 0 - -struct itimerval { struct timeval it_interval, it_value; }; - static inline int git_mkdir(const char *path, int mode) { return mkdir(path); -- 2.11.4.GIT