summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-31 12:59:50 +0100
committerChristian Grothoff <christian@grothoff.org>2019-10-31 12:59:50 +0100
commit385b3e77dfa1b6bbaee5d0ec9da9bcbd69e91b70 (patch)
tree61550b547a56179e6abac9bee3502ecc5c537fa8 /src/exchange
parent325aaddbd6612c3baa56d01f6777faf77d082588 (diff)
downloadexchange-385b3e77dfa1b6bbaee5d0ec9da9bcbd69e91b70.tar.gz
exchange-385b3e77dfa1b6bbaee5d0ec9da9bcbd69e91b70.tar.bz2
exchange-385b3e77dfa1b6bbaee5d0ec9da9bcbd69e91b70.zip
tighten formatting rules
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-aggregator.c2
-rw-r--r--src/exchange/taler-exchange-httpd.c3
-rw-r--r--src/exchange/taler-exchange-httpd_keystate.c3
-rw-r--r--src/exchange/taler-exchange-httpd_parsing.c1
-rw-r--r--src/exchange/taler-exchange-httpd_responses.c7
-rw-r--r--src/exchange/taler-exchange-httpd_wire.c1
-rw-r--r--src/exchange/taler-exchange-wirewatch.c1
-rw-r--r--src/exchange/test_taler_exchange_aggregator.c3
-rw-r--r--src/exchange/test_taler_exchange_wirewatch.c1
9 files changed, 10 insertions, 12 deletions
diff --git a/src/exchange/taler-exchange-aggregator.c b/src/exchange/taler-exchange-aggregator.c
index fffb652c7..95f56d0df 100644
--- a/src/exchange/taler-exchange-aggregator.c
+++ b/src/exchange/taler-exchange-aggregator.c
@@ -291,7 +291,6 @@ static unsigned int aggregation_limit =
TALER_EXCHANGEDB_MATCHING_DEPOSITS_LIMIT;
-
/**
* Advance the "af" pointer in @a wp to point to the
* currently valid record.
@@ -1968,4 +1967,5 @@ main (int argc,
return global_ret;
}
+
/* end of taler-exchange-aggregator.c */
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c
index bdb213a87..af38a605a 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -839,6 +839,7 @@ connection_done (void *cls,
"kill");
}
+
/* end of HAVE_DEVELOPER */
#endif
@@ -1026,7 +1027,6 @@ write_stats ()
}
-
/**
* The main function of the taler-exchange-httpd server ("the exchange").
*
@@ -1261,4 +1261,5 @@ main (int argc,
return (GNUNET_SYSERR == ret) ? 1 : 0;
}
+
/* end of taler-exchange-httpd.c */
diff --git a/src/exchange/taler-exchange-httpd_keystate.c b/src/exchange/taler-exchange-httpd_keystate.c
index f9cda8a5f..ce6a856d9 100644
--- a/src/exchange/taler-exchange-httpd_keystate.c
+++ b/src/exchange/taler-exchange-httpd_keystate.c
@@ -262,7 +262,6 @@ struct ResponseFactoryContext
};
-
/**
* Snapshot of the (coin and signing) keys (including private keys) of
* the exchange. There can be multiple instances of this struct, as it is
@@ -327,7 +326,6 @@ struct TEH_KS_StateHandle
};
-
/**
* Exchange key state. This is the long-term, read-only internal global state,
* which the various threads "lock" to use in read-only ways. We eventually
@@ -346,7 +344,6 @@ static struct TEH_KS_StateHandle *internal_key_state;
static pthread_mutex_t internal_key_state_mutex = PTHREAD_MUTEX_INITIALIZER;
-
/* ************************** Clean up logic *********************** */
diff --git a/src/exchange/taler-exchange-httpd_parsing.c b/src/exchange/taler-exchange-httpd_parsing.c
index dc77d1822..fb8932b9a 100644
--- a/src/exchange/taler-exchange-httpd_parsing.c
+++ b/src/exchange/taler-exchange-httpd_parsing.c
@@ -36,7 +36,6 @@
#define REQUEST_BUFFER_MAX (1024 * 1024)
-
/**
* Process a POST request containing a JSON object. This function
* realizes an MHD POST processor that will (incrementally) process
diff --git a/src/exchange/taler-exchange-httpd_responses.c b/src/exchange/taler-exchange-httpd_responses.c
index 1c2f92f0e..2e1835845 100644
--- a/src/exchange/taler-exchange-httpd_responses.c
+++ b/src/exchange/taler-exchange-httpd_responses.c
@@ -698,8 +698,7 @@ TEH_RESPONSE_compile_transaction_history (const struct
the denomination key's RSA signature over coin_pub, but as the
wallet should really already have this information (and cannot
check or do anything with it anyway if it doesn't), it seems
- strictly unnecessary. */
- if (0 !=
+ strictly unnecessary. */if (0 !=
json_array_append_new (history,
json_pack ("{s:s, s:o, s:o, s:o, s:o, s:o}",
"type", "OLD-COIN-PAYBACK",
@@ -801,8 +800,7 @@ TEH_RESPONSE_compile_transaction_history (const struct
hash and the denomination key's RSA signature over coin_pub, but as
the wallet should really already have this information (and cannot
check or do anything with it anyway if it doesn't), it seems
- strictly unnecessary. */
- if (0 !=
+ strictly unnecessary. */if (0 !=
json_array_append_new (history,
json_pack ("{s:s, s:o, s:o, s:o, s:o, s:o}",
"type", "PAYBACK-REFRESH",
@@ -1172,4 +1170,5 @@ TEH_RESPONSE_reply_transaction_unknown (struct MHD_Connection *connection,
"code", (json_int_t) ec);
}
+
/* end of taler-exchange-httpd_responses.c */
diff --git a/src/exchange/taler-exchange-httpd_wire.c b/src/exchange/taler-exchange-httpd_wire.c
index 797ed8bed..1bc4a8279 100644
--- a/src/exchange/taler-exchange-httpd_wire.c
+++ b/src/exchange/taler-exchange-httpd_wire.c
@@ -176,5 +176,4 @@ TEH_wire_cleanup ()
}
-
/* end of taler-exchange-httpd_wire.c */
diff --git a/src/exchange/taler-exchange-wirewatch.c b/src/exchange/taler-exchange-wirewatch.c
index ea737b7b5..83d90c6e2 100644
--- a/src/exchange/taler-exchange-wirewatch.c
+++ b/src/exchange/taler-exchange-wirewatch.c
@@ -735,4 +735,5 @@ main (int argc,
return global_ret;
}
+
/* end of taler-exchange-wirewatch.c */
diff --git a/src/exchange/test_taler_exchange_aggregator.c b/src/exchange/test_taler_exchange_aggregator.c
index 274a28ac7..9a187add5 100644
--- a/src/exchange/test_taler_exchange_aggregator.c
+++ b/src/exchange/test_taler_exchange_aggregator.c
@@ -28,7 +28,6 @@
#include "taler_fakebank_lib.h"
-
/**
* Commands for the interpreter.
*/
@@ -351,6 +350,7 @@ maint_child_death (void *cls)
interpreter (state);
}
+
/**
* Setup (fake) information about a coin used in deposit.
*
@@ -1333,4 +1333,5 @@ main (int argc,
return result;
}
+
/* end of test_taler_exchange_aggregator.c */
diff --git a/src/exchange/test_taler_exchange_wirewatch.c b/src/exchange/test_taler_exchange_wirewatch.c
index 27b98bb06..da2da615a 100644
--- a/src/exchange/test_taler_exchange_wirewatch.c
+++ b/src/exchange/test_taler_exchange_wirewatch.c
@@ -857,4 +857,5 @@ main (int argc,
return result;
}
+
/* end of test_taler_exchange_wirewatch.c */