diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-23 06:41:47 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-23 06:41:47 -0700 |
commit | 1067252f091ca438d19929523baaa0f8bf6a51cb (patch) | |
tree | b29d524068a9a9a36e311c1e86bc5de84543bbe8 | |
parent | d5ec0bb0b9ec7f5f585d4dca3f16b29b3d43503b (diff) | |
download | txr-1067252f091ca438d19929523baaa0f8bf6a51cb.tar.gz txr-1067252f091ca438d19929523baaa0f8bf6a51cb.tar.bz2 txr-1067252f091ca438d19929523baaa0f8bf6a51cb.zip |
statf becomes external.
* sysif.c (statf): Linkage changed to
external. Also, fixed wrong name being passed
down to stat_impl.
* sysif.h (statf): Declaration updated.
-rw-r--r-- | sysif.c | 4 | ||||
-rw-r--r-- | sysif.h | 1 |
2 files changed, 3 insertions, 2 deletions
@@ -660,9 +660,9 @@ static val statl(val path) return stat_impl(path, w_lstat, lit("lstat")); } -static val statf(val stream) +val statf(val stream) { - return stat_impl(stream, w_fstat, lit("lstat")); + return stat_impl(stream, w_fstat, lit("fstat")); } #if HAVE_PIPE @@ -34,4 +34,5 @@ extern val atime_s, mtime_s, ctime_s; val getenv_wrap(val name); val statp(val path); +val statf(val path); void sysif_init(void); |