summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/xstat.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2011-08-02 15:41:52 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2011-08-02 15:41:52 +0000
commit49f47e772fcf8d5b6148eba21ffb438fa35c8c00 (patch)
treec13a5f8aaad9d4c8328e898a08a1160a72da74e0 /Build/source/texk/kpathsea/xstat.h
parent6c2467cbb8e21577155060c598661d71024c1893 (diff)
kpathsea: unexport library internal functions, remove unused ones
git-svn-id: svn://tug.org/texlive/trunk@23317 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/xstat.h')
-rw-r--r--Build/source/texk/kpathsea/xstat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/kpathsea/xstat.h b/Build/source/texk/kpathsea/xstat.h
index 37eb65f91fe..59347bafdb9 100644
--- a/Build/source/texk/kpathsea/xstat.h
+++ b/Build/source/texk/kpathsea/xstat.h
@@ -1,6 +1,6 @@
/* xstat.h: stat with error checking.
- Copyright 1992, 1993, 1994, 2008, 2010 Karl Berry.
+ Copyright 1992, 1993, 1994, 2008, 2010, 2011 Karl Berry.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -18,6 +18,8 @@
#ifndef KPATHSEA_XSTAT_H
#define KPATHSEA_XSTAT_H
+#ifdef MAKE_KPSE_DLL /* libkpathsea internal only */
+
#include <kpathsea/c-proto.h>
#include <kpathsea/c-stat.h>
#include <kpathsea/types.h>
@@ -28,8 +30,6 @@
#define SAME_FILE_P(s1, s2) \
((s1).st_ino == (s2).st_ino && (s1).st_dev == (s2).st_dev)
-#ifdef MAKE_KPSE_DLL /* libkpathsea internal only */
-
/* Does stat(2) on PATH, and aborts if the stat fails. */
extern struct stat xstat (const_string path);