commit 8dec15190f2605b2dcfeca8a1965f24cf1062089
parent 31d078ece609d6b472b15ad756d32db3af6ea925
Author: ng0 <ng0@n0.is>
Date: Tue, 19 Nov 2019 22:27:30 +0000
lint
Diffstat:
3 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/src/fuse/gfs_download.h b/src/fuse/gfs_download.h
@@ -1,17 +1,17 @@
/*
This file is part of gnunet-fuse.
Copyright (C) 2012 GNUnet e.V.
-
+
gnunet-fuse is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
by the Free Software Foundation; either version 3, or (at your
option) any later version.
-
+
gnunet-fuse is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
@@ -37,7 +37,7 @@
*/
int
GNUNET_FUSE_download_file (struct GNUNET_FUSE_PathInfo *path_info,
- off_t start_offset,
- uint64_t length);
+ off_t start_offset,
+ uint64_t length);
#endif
diff --git a/src/fuse/gnunet-fuse.h b/src/fuse/gnunet-fuse.h
@@ -148,9 +148,9 @@ struct GNUNET_FUSE_PathInfo
*/
struct GNUNET_FUSE_PathInfo *
GNUNET_FUSE_path_info_create (struct GNUNET_FUSE_PathInfo *parent,
- const char *filename,
- const struct GNUNET_FS_Uri *uri,
- int is_directory);
+ const char *filename,
+ const struct GNUNET_FS_Uri *uri,
+ int is_directory);
/**
@@ -163,7 +163,7 @@ GNUNET_FUSE_path_info_create (struct GNUNET_FUSE_PathInfo *parent,
*/
struct GNUNET_FUSE_PathInfo *
GNUNET_FUSE_path_info_get (const char *path,
- int *eno);
+ int *eno);
/**
@@ -195,39 +195,39 @@ GNUNET_FUSE_path_info_delete (struct GNUNET_FUSE_PathInfo *pi);
*/
int
GNUNET_FUSE_load_directory (struct GNUNET_FUSE_PathInfo *pi,
- int * eno);
+ int *eno);
/* FUSE function files */
-int gn_getattr(const char *path, struct stat *stbuf);
+int gn_getattr (const char *path, struct stat *stbuf);
-int gn_open(const char *path, struct fuse_file_info *fi);
+int gn_open (const char *path, struct fuse_file_info *fi);
-int gn_read(const char *path, char *buf, size_t size, off_t offset,
- struct fuse_file_info *fi);
+int gn_read (const char *path, char *buf, size_t size, off_t offset,
+ struct fuse_file_info *fi);
-int gn_readdir(const char *path, void *buf, fuse_fill_dir_t filler,
- off_t offset, struct fuse_file_info *fi);
+int gn_readdir (const char *path, void *buf, fuse_fill_dir_t filler,
+ off_t offset, struct fuse_file_info *fi);
-int gn_mknod(const char *path, mode_t mode, dev_t rdev);
+int gn_mknod (const char *path, mode_t mode, dev_t rdev);
-int gn_mkdir(const char *path, mode_t mode);
+int gn_mkdir (const char *path, mode_t mode);
-int gn_unlink(const char *path);
+int gn_unlink (const char *path);
-int gn_rmdir(const char *path);
+int gn_rmdir (const char *path);
-int gn_rename(const char *from, const char *to);
+int gn_rename (const char *from, const char *to);
-int gn_truncate(const char *path, off_t size);
+int gn_truncate (const char *path, off_t size);
-int gn_write(const char *path, const char *buf, size_t size, off_t offset,
- struct fuse_file_info *fi);
+int gn_write (const char *path, const char *buf, size_t size, off_t offset,
+ struct fuse_file_info *fi);
-int gn_release(const char *path, struct fuse_file_info *fi);
+int gn_release (const char *path, struct fuse_file_info *fi);
-int gn_utimens(const char *path, const struct timespec ts[2]);
+int gn_utimens (const char *path, const struct timespec ts[2]);
#endif
diff --git a/src/fuse/mutex.h b/src/fuse/mutex.h
@@ -51,15 +51,15 @@ struct GNUNET_Mutex *
GNUNET_mutex_create (int isRecursive);
-void
+void
GNUNET_mutex_destroy (struct GNUNET_Mutex *mutex);
-void
+void
GNUNET_mutex_lock (struct GNUNET_Mutex *mutex);
-void
+void
GNUNET_mutex_unlock (struct GNUNET_Mutex *mutex);