[Pkg-privacy-commits] [libgsecuredelete] 68/168: Make utils module private

Ulrike Uhlig u-guest at moszumanska.debian.org
Thu Jul 7 20:06:40 UTC 2016


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

u-guest pushed a commit to branch master
in repository libgsecuredelete.

commit c58ad95262ca51a8a2c1eea5f5681c77b7940d00
Author: Colomban Wendling <ban at herbesfolles.org>
Date:   Wed Apr 27 15:28:58 2011 +0200

    Make utils module private
---
 gsecuredelete/utils.vala | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/gsecuredelete/utils.vala b/gsecuredelete/utils.vala
index 772c05d..a2ad30b 100644
--- a/gsecuredelete/utils.vala
+++ b/gsecuredelete/utils.vala
@@ -29,7 +29,7 @@ namespace Gsd
    * @SELECT_ERROR: A call to Posix.select() failed.
    * @WAITPID_ERROR: A call to Posix.waitpid() failed.
    */
-  public errordomain FDError {
+  internal errordomain FDError {
     KILL_ERROR,
     READ_ERROR,
     SELECT_ERROR,
@@ -49,7 +49,7 @@ namespace Gsd
      * 
      * Returns: %TRUE if the file is read, %FALSE otherwise.
      */
-    public bool read_ready (int fd)
+    internal bool read_ready (int fd)
       throws FDError
     {
       bool ready = false;
@@ -81,8 +81,8 @@ namespace Gsd
      * 
      * Returns: a newly allocated string containing data in @fd.
      */
-    public static string? read_string (int     fd,
-                                       ssize_t n_bytes = -1)
+    internal static string? read_string (int     fd,
+                                         ssize_t n_bytes = -1)
       throws FDError
     {
       char* buf = null;
@@ -151,9 +151,9 @@ namespace Gsd
      * 
      * Returns: the number of occurrences of @byte in @fd.
      */
-    public uint count_ready_bytes (int    fd,
-                                   int    byte,
-                                   size_t bufsize = 16)
+    internal uint count_ready_bytes (int    fd,
+                                     int    byte,
+                                     size_t bufsize = 16)
       throws FDError
     {
       uint n_occur = 0;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/libgsecuredelete.git



More information about the Pkg-privacy-commits mailing list