summaryrefslogtreecommitdiff
path: root/hw/virtio-9p-xattr.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2011-01-23 16:21:20 +0000
committerBlue Swirl <blauwirbel@gmail.com>2011-01-23 16:21:20 +0000
commit64b85a8f2359ca3a995499afaf3c87d8e036e030 (patch)
treec8f8396df5fde32181b5e93f241b64c604cf5df5 /hw/virtio-9p-xattr.h
parentba76a84d2d420ccab7383bb60c61b96491f50b33 (diff)
downloadqemu-64b85a8f2359ca3a995499afaf3c87d8e036e030.tar.gz
Delete useless 'extern' qualifiers for functions
'extern' qualifier is useless for function declarations. Delete them. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/virtio-9p-xattr.h')
-rw-r--r--hw/virtio-9p-xattr.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/hw/virtio-9p-xattr.h b/hw/virtio-9p-xattr.h
index a6e31a152f..2bbae2dcb5 100644
--- a/hw/virtio-9p-xattr.h
+++ b/hw/virtio-9p-xattr.h
@@ -41,16 +41,15 @@ extern XattrOperations *mapped_xattr_ops[];
extern XattrOperations *passthrough_xattr_ops[];
extern XattrOperations *none_xattr_ops[];
-extern ssize_t v9fs_get_xattr(FsContext *ctx, const char *path,
- const char *name, void *value, size_t size);
-extern ssize_t v9fs_list_xattr(FsContext *ctx, const char *path,
- void *value, size_t vsize);
-extern int v9fs_set_xattr(FsContext *ctx, const char *path, const char *name,
+ssize_t v9fs_get_xattr(FsContext *ctx, const char *path, const char *name,
+ void *value, size_t size);
+ssize_t v9fs_list_xattr(FsContext *ctx, const char *path, void *value,
+ size_t vsize);
+int v9fs_set_xattr(FsContext *ctx, const char *path, const char *name,
void *value, size_t size, int flags);
-extern int v9fs_remove_xattr(FsContext *ctx,
- const char *path, const char *name);
-extern ssize_t pt_listxattr(FsContext *ctx, const char *path,
- char *name, void *value, size_t size);
+int v9fs_remove_xattr(FsContext *ctx, const char *path, const char *name);
+ssize_t pt_listxattr(FsContext *ctx, const char *path, char *name, void *value,
+ size_t size);
static inline ssize_t pt_getxattr(FsContext *ctx, const char *path,
const char *name, void *value, size_t size)