aboutsummaryrefslogtreecommitdiffstats
path: root/jnlib/mischelp.h
diff options
context:
space:
mode:
Diffstat (limited to 'jnlib/mischelp.h')
-rw-r--r--jnlib/mischelp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/jnlib/mischelp.h b/jnlib/mischelp.h
index a00764106..2f003e1ce 100644
--- a/jnlib/mischelp.h
+++ b/jnlib/mischelp.h
@@ -1,6 +1,6 @@
/* mischelp.h - Miscellaneous helper macros and functions
* Copyright (C) 1999, 2000, 2001, 2002, 2003,
- * 2006 Free Software Foundation, Inc.
+ * 2006, 2007 Free Software Foundation, Inc.
*
* This file is part of JNLIB.
*
@@ -22,6 +22,11 @@
#define LIBJNLIB_MISCHHELP_H
+/* Check whether the files NAME1 and NAME2 are identical. This is for
+ example achieved by comparing the inode numbers of the files. */
+int same_file_p (const char *name1, const char *name2);
+
+
#ifndef HAVE_TIMEGM
#include <time.h>
time_t timegm (struct tm *tm);