1
0
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:
David Malone 2004-01-07 14:29:45 +00:00
parent 9b83b9f75c
commit 1bc99f1144
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124217
9 changed files with 2 additions and 8 deletions

View File

@ -67,7 +67,6 @@ static const char rcsid[] =
static int fd = -1;
static int cpid = -1;
extern int Procfd;
#include "syscalls.h"

View File

@ -65,7 +65,6 @@ static const char rcsid[] =
static int fd = -1;
static int cpid = -1;
extern int Procfd;
#include "syscalls.h"

View File

@ -62,7 +62,6 @@ static const char rcsid[] =
static int fd = -1;
static int cpid = -1;
extern int Procfd;
#include "linux_syscalls.h"

View File

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

View File

@ -65,7 +65,6 @@ static const char rcsid[] =
static int fd = -1;
static int cpid = -1;
extern int Procfd;
#include "syscalls.h"

View File

@ -62,7 +62,6 @@ static const char rcsid[] =
static int fd = -1;
static int cpid = -1;
extern int Procfd;
#include "linux_syscalls.h"

View File

@ -64,7 +64,6 @@ static const char rcsid[] =
static int fd = -1;
static int cpid = -1;
extern int Procfd;
#include "syscalls.h"

View File

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

View File

@ -70,7 +70,6 @@ static const char rcsid[] =
static int fd = -1;
static int cpid = -1;
extern int Procfd;
#include "syscalls.h"