aboutsummaryrefslogtreecommitdiff
path: root/src/bank-lib/fakebank.h
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-08-25 16:18:24 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-08-25 16:18:24 +0200
commiteb559970846f0fa27f1f25c482cd07210a56f4b1 (patch)
tree8526637825e520e1420b17515934ced794a33c01 /src/bank-lib/fakebank.h
parent3742239c13001433eeade439a0e0490f07351c43 (diff)
downloadexchange-eb559970846f0fa27f1f25c482cd07210a56f4b1.tar.xz
re-format code
Diffstat (limited to 'src/bank-lib/fakebank.h')
-rw-r--r--src/bank-lib/fakebank.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/bank-lib/fakebank.h b/src/bank-lib/fakebank.h
index ff8ea7165..321bc1336 100644
--- a/src/bank-lib/fakebank.h
+++ b/src/bank-lib/fakebank.h
@@ -198,27 +198,24 @@ struct HistoryArgs
* @param pos current position.
* @return GNUNET_YES if the iteration shuold go on.
*/
-typedef int (*CheckAdvance)
- (const struct HistoryArgs *ha,
- const struct Transaction *pos);
+typedef int (*CheckAdvance)(const struct HistoryArgs *ha,
+ const struct Transaction *pos);
/**
* Type for a function that steps over the next element
* in the list of all transactions, after the current @a pos
* _got_ included in the result.
*/
-typedef struct Transaction * (*Step)
- (const struct HistoryArgs *ha,
- const struct Transaction *pos);
+typedef struct Transaction * (*Step)(const struct HistoryArgs *ha,
+ const struct Transaction *pos);
/*
* Type for a function that steps over the next element
* in the list of all transactions, after the current @a pos
* did _not_ get included in the result.
*/
-typedef struct Transaction * (*Skip)
- (const struct HistoryArgs *ha,
- const struct Transaction *pos);
+typedef struct Transaction * (*Skip)(const struct HistoryArgs *ha,
+ const struct Transaction *pos);
/**
* Actual history response builder.