From d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 8 Sep 2019 12:33:09 +0000 Subject: uncrustify as demanded. --- src/fs/gnunet-service-fs.h | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) (limited to 'src/fs/gnunet-service-fs.h') diff --git a/src/fs/gnunet-service-fs.h b/src/fs/gnunet-service-fs.h index 661126f08..21a822c6d 100644 --- a/src/fs/gnunet-service-fs.h +++ b/src/fs/gnunet-service-fs.h @@ -11,12 +11,12 @@ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. - + You should have received a copy of the GNU Affero General Public License along with this program. If not, see . SPDX-License-Identifier: AGPL3.0-or-later -*/ + */ /** * @file fs/gnunet-service-fs.h @@ -48,7 +48,7 @@ * automatically (since if we don't use it, clearly the * load must be going down). */ -#define DATASTORE_LOAD_AUTODECLINE GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, 250) +#define DATASTORE_LOAD_AUTODECLINE GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_MILLISECONDS, 250) /** * Only the (mandatory) query is included. @@ -79,9 +79,7 @@ GNUNET_NETWORK_STRUCT_BEGIN /** * Message sent between peers asking for FS-content. */ -struct GetMessage -{ - +struct GetMessage { /** * Message type will be #GNUNET_MESSAGE_TYPE_FS_GET. */ @@ -136,8 +134,7 @@ struct GetMessage * Message send by a peer that wants to be excluded * from migration for a while. */ -struct MigrationStopMessage -{ +struct MigrationStopMessage { /** * Message type will be * GNUNET_MESSAGE_TYPE_FS_MIGRATION_STOP. @@ -153,7 +150,6 @@ struct MigrationStopMessage * How long should the block last? */ struct GNUNET_TIME_RelativeNBO duration; - }; GNUNET_NETWORK_STRUCT_END @@ -279,9 +275,9 @@ extern unsigned int GSF_datastore_queue_size; * @param result final datastore lookup result */ void -GSF_consider_forwarding (void *cls, - struct GSF_PendingRequest *pr, - enum GNUNET_BLOCK_EvaluationResult result); +GSF_consider_forwarding(void *cls, + struct GSF_PendingRequest *pr, + enum GNUNET_BLOCK_EvaluationResult result); /** @@ -294,7 +290,7 @@ GSF_consider_forwarding (void *cls, * #GNUNET_SYSERR to process for free (load low) */ int -GSF_test_get_load_too_high_ (uint32_t priority); +GSF_test_get_load_too_high_(uint32_t priority); /** @@ -304,7 +300,7 @@ GSF_test_get_load_too_high_ (uint32_t priority); * @param start time when the datastore request was issued */ void -GSF_update_datastore_delay_ (struct GNUNET_TIME_Absolute start); +GSF_update_datastore_delay_(struct GNUNET_TIME_Absolute start); #endif -- cgit v1.2.3