]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
drop the unused ply_read_some_bytes function
authorRay Strode <rstrode@redhat.com>
Wed, 30 May 2007 00:13:34 +0000 (20:13 -0400)
committerRay Strode <rstrode@redhat.com>
Wed, 30 May 2007 00:13:34 +0000 (20:13 -0400)
src/ply-utils.c
src/ply-utils.h

index 0571b3b6c69827f2b1eb9852ac5d4835d3b599c5..cdff0efa8b6e4eefc7d58914d63d4218470902b9 100644 (file)
@@ -111,7 +111,7 @@ ply_write (int         fd,
   return bytes_left_to_write == 0;
 }
 
-ssize_t
+static ssize_t
 ply_read_some_bytes (int     fd,
                      void   *buffer,
                      size_t  max_bytes)
index 4bb794cce0d22de06657d2b5f58142f9ef384390..618d4fa8ff1f0b9a617d3df10d72c8769e1baa19 100644 (file)
@@ -47,9 +47,6 @@ bool ply_write (int         fd,
 bool ply_read (int     fd,
                void   *buffer,
                size_t  number_of_bytes); 
-ssize_t ply_read_some_bytes (int     fd,
-                             void   *buffer,
-                             size_t  max_bytes);
 
 bool ply_fd_has_data (int fd);
 bool ply_fd_can_take_data (int fd);