commit-hurd
[Top][All Lists]
Advanced

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

[hurd] 10/87: libstore: provide function declaration until available ups


From: Samuel Thibault
Subject: [hurd] 10/87: libstore: provide function declaration until available upstream
Date: Sun, 09 Nov 2014 11:04:59 +0000

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

sthibault pushed a commit to branch upstream
in repository hurd.

commit 73f5884a591f1e2efef948d108927327a054d97c
Author: Justus Winter <address@hidden>
Date:   Wed May 21 13:30:24 2014 +0200

    libstore: provide function declaration until available upstream
    
    Until the Hurd specific header is available, provide a local
    declaration of ped_device_new_from_store.
    
    * libstore/part.c (ped_device_new_from_store): New declaration.
---
 libstore/part.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/libstore/part.c b/libstore/part.c
index 56e904e..60ef6c2 100644
--- a/libstore/part.c
+++ b/libstore/part.c
@@ -26,6 +26,17 @@
 
 #include <parted/parted.h>
 /*#include <parted/device_gnu.h>*/
+
+/* XXX Until the Hurd specific header is available, provide the
+   declaration of ped_device_new_from_store here.  */
+#warning "Using local declaration of ped_device_new_from_store."
+
+/* Initialize a PedDevice using SOURCE.  The SOURCE will NOT be destroyed;
+   the caller created it, it is the caller's responsilbility to free it
+   after it calls ped_device_destory.  SOURCE is not registered in Parted's
+   list of devices.  */
+PedDevice* ped_device_new_from_store (struct store *source);
+
 #include <string.h>
 #include <error.h>
 

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



reply via email to

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