[Cmake-commits] [cmake-commits] king committed archive_entry.c 1.1 1.2 archive_read.c 1.1 1.2 archive_write_disk.c 1.1 1.2

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Nov 4 17:25:37 EST 2009


Update of /cvsroot/CMake/CMake/Utilities/cmlibarchive/libarchive
In directory public:/mounts/ram/cvs-serv26117

Modified Files:
	archive_entry.c archive_read.c archive_write_disk.c 
Log Message:
libarchive: Use consistent function storage class

Functions declared 'static' should be defined 'static' too.


Index: archive_write_disk.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/cmlibarchive/libarchive/archive_write_disk.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** archive_write_disk.c	30 Oct 2009 17:09:59 -0000	1.1
--- archive_write_disk.c	4 Nov 2009 22:25:35 -0000	1.2
***************
*** 1065,1069 ****
   * a single system call.
   */
! int
  create_filesystem_object(struct archive_write_disk *a)
  {
--- 1065,1069 ----
   * a single system call.
   */
! static int
  create_filesystem_object(struct archive_write_disk *a)
  {

Index: archive_entry.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/cmlibarchive/libarchive/archive_entry.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** archive_entry.c	30 Oct 2009 17:09:56 -0000	1.1
--- archive_entry.c	4 Nov 2009 22:25:35 -0000	1.2
***************
*** 1200,1204 ****
  }
  
! void
  archive_entry_acl_add_entry_w_len(struct archive_entry *entry,
      int type, int permset, int tag, int id, const wchar_t *name, size_t len)
--- 1200,1204 ----
  }
  
! static void
  archive_entry_acl_add_entry_w_len(struct archive_entry *entry,
      int type, int permset, int tag, int id, const wchar_t *name, size_t len)

Index: archive_read.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/cmlibarchive/libarchive/archive_read.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** archive_read.c	30 Oct 2009 17:09:56 -0000	1.1
--- archive_read.c	4 Nov 2009 22:25:35 -0000	1.2
***************
*** 769,773 ****
   * Release memory and other resources.
   */
! int
  _archive_read_finish(struct archive *_a)
  {
--- 769,773 ----
   * Release memory and other resources.
   */
! static int
  _archive_read_finish(struct archive *_a)
  {



More information about the Cmake-commits mailing list