mirror of
https://github.com/git/git.git
synced 2026-03-13 18:33:25 +01:00
Remove now unused dummy functions related to timer signal handling.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user