Alexandre Julliard : server: Remove no longer used is_same_file() function.

Alexandre Julliard julliard at winehq.org
Tue Sep 26 14:56:16 CDT 2017


Module: wine
Branch: master
Commit: bc39a7460e2e895a04ffa03eaba8907bc676d2f8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bc39a7460e2e895a04ffa03eaba8907bc676d2f8

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Sep 26 14:07:58 2017 +0200

server: Remove no longer used is_same_file() function.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 server/file.c | 6 ------
 server/file.h | 1 -
 2 files changed, 7 deletions(-)

diff --git a/server/file.c b/server/file.c
index 3809012..39c8150 100644
--- a/server/file.c
+++ b/server/file.c
@@ -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;
diff --git a/server/file.h b/server/file.h
index 512b03a..06ea233 100644
--- a/server/file.h
+++ b/server/file.h
@@ -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);




More information about the wine-cvs mailing list