server: Remove no longer used is_same_file() function.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2017-09-26 14:07:58 +02:00
parent aa90910e93
commit bc39a7460e
2 changed files with 0 additions and 7 deletions

View File

@ -265,12 +265,6 @@ done:
return obj;
}
/* check if two file objects point to the same file */
int is_same_file( struct file *file1, struct file *file2 )
{
return is_same_file_fd( file1->fd, file2->fd );
}
static void file_dump( struct object *obj, int verbose )
{
struct file *file = (struct file *)obj;

View File

@ -136,7 +136,6 @@ extern const char *get_timeout_str( timeout_t timeout );
extern struct file *get_file_obj( struct process *process, obj_handle_t handle,
unsigned int access );
extern int get_file_unix_fd( struct file *file );
extern int is_same_file( struct file *file1, struct file *file2 );
extern struct file *create_file_for_fd( int fd, unsigned int access, unsigned int sharing );
extern struct file *create_file_for_fd_obj( struct fd *fd, unsigned int access, unsigned int sharing );
extern void file_set_error(void);