nuke homegrown getcwd_common() decl
This commit is contained in:
parent
23622f237e
commit
a97de7b959
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: procfs_map.c,v 1.31 2007/04/01 03:18:57 christos Exp $ */
|
||||
/* $NetBSD: procfs_map.c,v 1.32 2007/07/21 22:47:36 pooka Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1993
|
||||
|
@ -76,7 +76,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: procfs_map.c,v 1.31 2007/04/01 03:18:57 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: procfs_map.c,v 1.32 2007/07/21 22:47:36 pooka Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -84,6 +84,7 @@ __KERNEL_RCSID(0, "$NetBSD: procfs_map.c,v 1.31 2007/04/01 03:18:57 christos Exp
|
|||
#include <sys/vnode.h>
|
||||
#include <sys/malloc.h>
|
||||
#include <sys/namei.h>
|
||||
#include <sys/filedesc.h>
|
||||
#include <miscfs/procfs/procfs.h>
|
||||
|
||||
#include <sys/lock.h>
|
||||
|
@ -92,9 +93,6 @@ __KERNEL_RCSID(0, "$NetBSD: procfs_map.c,v 1.31 2007/04/01 03:18:57 christos Exp
|
|||
|
||||
#define BUFFERSIZE (64 * 1024)
|
||||
|
||||
extern int getcwd_common(struct vnode *, struct vnode *,
|
||||
char **, char *, int, int, struct lwp *);
|
||||
|
||||
static int procfs_vnode_to_path(struct vnode *vp, char *path, int len,
|
||||
struct lwp *curl, struct proc *p);
|
||||
|
||||
|
|
Loading…
Reference in New Issue