/* $OpenBSD: thread_fd.c,v 1.4 2001/09/04 22:17:45 fgsch Exp $ */ #include #include #include "thread_private.h" WEAK_PROTOTYPE(_thread_fd_lock); WEAK_PROTOTYPE(_thread_fd_lock_debug); WEAK_PROTOTYPE(_thread_fd_unlock); WEAK_PROTOTYPE(_thread_fd_unlock_debug); WEAK_ALIAS(_thread_fd_lock); WEAK_ALIAS(_thread_fd_lock_debug); WEAK_ALIAS(_thread_fd_unlock); WEAK_ALIAS(_thread_fd_unlock_debug); int WEAK_NAME(_thread_fd_lock)(fd, lock_type, timeout) int fd; int lock_type; struct timespec *timeout; { return 0; } int WEAK_NAME(_thread_fd_lock_debug)(fd, lock_type, timeout, fname, lineno) int fd; int lock_type; struct timespec *timeout; char *fname; int lineno; { return 0; } void WEAK_NAME(_thread_fd_unlock)(fd, lock_type) int fd; int lock_type; { } void WEAK_NAME(_thread_fd_unlock_debug)(fd, lock_type, fname, lineno) int fd; int lock_type; char *fname; int lineno; { }