summaryrefslogtreecommitdiff
path: root/libsysfs/libsysfs.h
diff options
context:
space:
mode:
authordsteklof@us.ibm.com <dsteklof@us.ibm.com>2003-12-02 00:48:01 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:04 -0700
commitedcd336477880368915245a4b7ddd1bca5940b30 (patch)
tree7fbc2147d115ec6dc1050e41a2647bce2c7e957c /libsysfs/libsysfs.h
parentbc1530c65c282e27eb60de797291ca45c2d8cda2 (diff)
[PATCH] another patch for path problem
The quick patch I sent you yesterday fixes it in one location, but there are other points in the library that calls sysfs_get_mnt_path. We need to address all the areas in the library where paths are used. The following patch is a band-aid until we can get a proper path management in the library.
Diffstat (limited to 'libsysfs/libsysfs.h')
-rw-r--r--libsysfs/libsysfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsysfs/libsysfs.h b/libsysfs/libsysfs.h
index f7e989e242..6d8e58de21 100644
--- a/libsysfs/libsysfs.h
+++ b/libsysfs/libsysfs.h
@@ -142,6 +142,7 @@ extern "C" {
/*
* Function Prototypes
*/
+extern int sysfs_trailing_slash(unsigned char *path);
extern int sysfs_get_mnt_path(unsigned char *mnt_path, size_t len);
extern int sysfs_get_name_from_path(const unsigned char *path,
unsigned char *name, size_t len);