guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] branch master updated: Move declaration for scm_mkstemp


From: Mike Gran
Subject: [Guile-commits] branch master updated: Move declaration for scm_mkstemp to filesys.h
Date: Mon, 18 Jan 2021 12:22:52 -0500

This is an automated email from the git hooks/post-receive script.

mike121 pushed a commit to branch master
in repository guile.

The following commit(s) were added to refs/heads/master by this push:
     new d60ff39  Move declaration for scm_mkstemp to filesys.h
d60ff39 is described below

commit d60ff39105199dc6c3da5a69c28a967fed2965ba
Author: Michael Gran <spk121@yahoo.com>
AuthorDate: Mon Jan 18 08:40:27 2021 -0800

    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(-)

diff --git a/libguile/filesys.h b/libguile/filesys.h
index f870ee4..e25d594 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 1d2e183..ff3bec9 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);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]