Remove now unused dummy functions related to timer signal handling.

This commit is contained in:
Johannes Sixt
2007-05-24 09:40:43 +02:00
parent ddb51d3baf
commit eba4aff8fe
2 changed files with 0 additions and 26 deletions

View File

@@ -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);

View File

@@ -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);