mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-05 09:14:03 +00:00
Move declarations of Procfd to a header file.
This commit is contained in:
parent
9b83b9f75c
commit
1bc99f1144
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124217
@ -67,7 +67,6 @@ static const char rcsid[] =
|
||||
|
||||
static int fd = -1;
|
||||
static int cpid = -1;
|
||||
extern int Procfd;
|
||||
|
||||
#include "syscalls.h"
|
||||
|
||||
|
@ -65,7 +65,6 @@ static const char rcsid[] =
|
||||
|
||||
static int fd = -1;
|
||||
static int cpid = -1;
|
||||
extern int Procfd;
|
||||
|
||||
#include "syscalls.h"
|
||||
|
||||
|
@ -62,7 +62,6 @@ static const char rcsid[] =
|
||||
|
||||
static int fd = -1;
|
||||
static int cpid = -1;
|
||||
extern int Procfd;
|
||||
|
||||
#include "linux_syscalls.h"
|
||||
|
||||
|
@ -53,3 +53,5 @@ extern long ia64_syscall_exit(struct trussinfo *, int);
|
||||
extern void sparc64_syscall_entry(struct trussinfo *, int);
|
||||
extern long sparc64_syscall_exit(struct trussinfo *, int);
|
||||
#endif
|
||||
|
||||
extern int Procfd;
|
||||
|
@ -65,7 +65,6 @@ static const char rcsid[] =
|
||||
|
||||
static int fd = -1;
|
||||
static int cpid = -1;
|
||||
extern int Procfd;
|
||||
|
||||
#include "syscalls.h"
|
||||
|
||||
|
@ -62,7 +62,6 @@ static const char rcsid[] =
|
||||
|
||||
static int fd = -1;
|
||||
static int cpid = -1;
|
||||
extern int Procfd;
|
||||
|
||||
#include "linux_syscalls.h"
|
||||
|
||||
|
@ -64,7 +64,6 @@ static const char rcsid[] =
|
||||
|
||||
static int fd = -1;
|
||||
static int cpid = -1;
|
||||
extern int Procfd;
|
||||
|
||||
#include "syscalls.h"
|
||||
|
||||
|
@ -174,7 +174,6 @@ start_tracing(int pid, int eventflags, int flags) {
|
||||
*/
|
||||
void
|
||||
restore_proc(int signo __unused) {
|
||||
extern int Procfd;
|
||||
|
||||
ioctl(Procfd, PIOCBIC, ~0);
|
||||
if (evflags)
|
||||
|
@ -70,7 +70,6 @@ static const char rcsid[] =
|
||||
|
||||
static int fd = -1;
|
||||
static int cpid = -1;
|
||||
extern int Procfd;
|
||||
|
||||
#include "syscalls.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user