summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_util.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2005-03-01 17:57:45 +0000
committerjhb <jhb@FreeBSD.org>2005-03-01 17:57:45 +0000
commit407a285a6fdf784521a2aa699c90ab60c3fd60fe (patch)
treeb4ea853d99fc03f7a1b42456fcbf81f5e38e543d /sys/compat/linux/linux_util.h
parent75659347a5c28dc820ac281458504dd1565537ba (diff)
downloadFreeBSD-src-407a285a6fdf784521a2aa699c90ab60c3fd60fe.zip
FreeBSD-src-407a285a6fdf784521a2aa699c90ab60c3fd60fe.tar.gz
Remove linux_emul_find() and the CHECKALT*() macros as they are no longer
used.
Diffstat (limited to 'sys/compat/linux/linux_util.h')
-rw-r--r--sys/compat/linux/linux_util.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/compat/linux/linux_util.h b/sys/compat/linux/linux_util.h
index a974274..6aad44d 100644
--- a/sys/compat/linux/linux_util.h
+++ b/sys/compat/linux/linux_util.h
@@ -78,19 +78,6 @@ stackgap_alloc(sgp, sz)
extern const char linux_emul_path[];
int linux_emul_convpath(struct thread *, char *, enum uio_seg, char **, int);
-int linux_emul_find(struct thread *, caddr_t *, char *, char **, int);
-
-#define CHECKALT(td, sgp, path, i) \
- do { \
- int _error; \
- \
- _error = linux_emul_find(td, sgp, path, &path, i); \
- if (_error == EFAULT) \
- return (_error); \
- } while (0)
-
-#define CHECKALTEXIST(td, sgp, path) CHECKALT(td, sgp, path, 0)
-#define CHECKALTCREAT(td, sgp, path) CHECKALT(td, sgp, path, 1)
#define LCONVPATH(td, upath, pathp, i) \
do { \
OpenPOWER on IntegriCloud