From d60ff39105199dc6c3da5a69c28a967fed2965ba Mon Sep 17 00:00:00 2001 From: Michael Gran Date: Mon, 18 Jan 2021 08:40:27 -0800 Subject: Move declaration for scm_mkstemp to filesys.h The underlying function was moved to filesys.c in 073167ef7b803067bcc8be19925fac1a48577bd8 but the declaration didn't follow * libguile/filesys.h: add declaration for scm_mkstemp * libguile/posix.h: remove declaration for scm_mkstemp --- libguile/filesys.h | 3 ++- libguile/posix.h | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libguile') diff --git a/libguile/filesys.h b/libguile/filesys.h index f870ee434..e25d59477 100644 --- a/libguile/filesys.h +++ b/libguile/filesys.h @@ -1,7 +1,7 @@ #ifndef SCM_FILESYS_H #define SCM_FILESYS_H -/* Copyright 1995,1997-2001,2006,2008-2011,2013,2018 +/* Copyright 1995,1997-2001,2006,2008-2011,2013,2018,2021 Free Software Foundation, Inc. This file is part of Guile. @@ -65,6 +65,7 @@ SCM_API SCM scm_symlink (SCM oldpath, SCM newpath); SCM_API SCM scm_readlink (SCM path); SCM_API SCM scm_lstat (SCM str); SCM_API SCM scm_copy_file (SCM oldfile, SCM newfile); +SCM_API SCM scm_mkstemp (SCM tmpl); SCM_API SCM scm_dirname (SCM filename); SCM_API SCM scm_basename (SCM filename, SCM suffix); SCM_API SCM scm_canonicalize_path (SCM path); diff --git a/libguile/posix.h b/libguile/posix.h index 1d2e1835e..ff3bec9ea 100644 --- a/libguile/posix.h +++ b/libguile/posix.h @@ -1,7 +1,7 @@ #ifndef SCM_POSIX_H #define SCM_POSIX_H -/* Copyright 1995-1998,2000-2001,2003,2006,2008-2011,2018 +/* Copyright 1995-1998,2000-2001,2003,2006,2008-2011,2018,2021 Free Software Foundation, Inc. This file is part of Guile. @@ -65,7 +65,6 @@ SCM_API SCM scm_fork (void); SCM_API SCM scm_uname (void); SCM_API SCM scm_environ (SCM env); SCM_API SCM scm_tmpnam (void); -SCM_API SCM scm_mkstemp (SCM tmpl); SCM_API SCM scm_tmpfile (void); SCM_API SCM scm_open_pipe (SCM pipestr, SCM modes); SCM_API SCM scm_close_pipe (SCM port); -- cgit v1.2.1