aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-31 13:03:48 +0100
committerChristian Grothoff <christian@grothoff.org>2019-10-31 13:03:48 +0100
commit7e3cf5f461eb4fbb7581672bf0835da07c378136 (patch)
treebdc3874b7894242b095b892f1ed3e81a4d4f06c0 /src/peerinfo
parent01b480d6d026e0c537dc284a7e7df2c0320a3528 (diff)
downloadgnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.tar.gz
gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.zip
tighten formatting rules
Diffstat (limited to 'src/peerinfo')
-rw-r--r--src/peerinfo/peerinfo.h1
-rw-r--r--src/peerinfo/peerinfo_api.c1
-rw-r--r--src/peerinfo/peerinfo_api_notify.c1
-rw-r--r--src/peerinfo/perf_peerinfo_api.c1
-rw-r--r--src/peerinfo/test_peerinfo_api.c2
-rw-r--r--src/peerinfo/test_peerinfo_api_friend_only.c1
-rw-r--r--src/peerinfo/test_peerinfo_api_notify_friend_only.c3
-rw-r--r--src/peerinfo/test_peerinfo_shipped_hellos.c1
8 files changed, 9 insertions, 2 deletions
diff --git a/src/peerinfo/peerinfo.h b/src/peerinfo/peerinfo.h
index 69992170f..7db923d4d 100644
--- a/src/peerinfo/peerinfo.h
+++ b/src/peerinfo/peerinfo.h
@@ -32,7 +32,6 @@
32#include "gnunet_peerinfo_service.h" 32#include "gnunet_peerinfo_service.h"
33 33
34 34
35
36GNUNET_NETWORK_STRUCT_BEGIN 35GNUNET_NETWORK_STRUCT_BEGIN
37 36
38/** 37/**
diff --git a/src/peerinfo/peerinfo_api.c b/src/peerinfo/peerinfo_api.c
index 52d7b4192..b73d9d927 100644
--- a/src/peerinfo/peerinfo_api.c
+++ b/src/peerinfo/peerinfo_api.c
@@ -239,7 +239,6 @@ mq_error_handler (void *cls,
239} 239}
240 240
241 241
242
243/** 242/**
244 * Function called when we receive an info message. Check it is 243 * Function called when we receive an info message. Check it is
245 * well-formed. 244 * well-formed.
diff --git a/src/peerinfo/peerinfo_api_notify.c b/src/peerinfo/peerinfo_api_notify.c
index 778fe2344..5f4c123ff 100644
--- a/src/peerinfo/peerinfo_api_notify.c
+++ b/src/peerinfo/peerinfo_api_notify.c
@@ -287,4 +287,5 @@ GNUNET_PEERINFO_notify_cancel (struct GNUNET_PEERINFO_NotifyContext *nc)
287 GNUNET_free (nc); 287 GNUNET_free (nc);
288} 288}
289 289
290
290/* end of peerinfo_api_notify.c */ 291/* end of peerinfo_api_notify.c */
diff --git a/src/peerinfo/perf_peerinfo_api.c b/src/peerinfo/perf_peerinfo_api.c
index 0c8c22345..055388d43 100644
--- a/src/peerinfo/perf_peerinfo_api.c
+++ b/src/peerinfo/perf_peerinfo_api.c
@@ -189,4 +189,5 @@ main (int argc,
189 return 0; 189 return 0;
190} 190}
191 191
192
192/* end of perf_peerinfo_api.c */ 193/* end of perf_peerinfo_api.c */
diff --git a/src/peerinfo/test_peerinfo_api.c b/src/peerinfo/test_peerinfo_api.c
index b13b9dc57..27df6e37b 100644
--- a/src/peerinfo/test_peerinfo_api.c
+++ b/src/peerinfo/test_peerinfo_api.c
@@ -81,6 +81,7 @@ address_generator (void *cls, size_t max, void *buf)
81 return ret; 81 return ret;
82} 82}
83 83
84
84struct GNUNET_PeerIdentity pid; 85struct GNUNET_PeerIdentity pid;
85 86
86static void 87static void
@@ -167,4 +168,5 @@ main (int argc, char *argv[])
167 return global_ret; 168 return global_ret;
168} 169}
169 170
171
170/* end of test_peerinfo_api.c */ 172/* end of test_peerinfo_api.c */
diff --git a/src/peerinfo/test_peerinfo_api_friend_only.c b/src/peerinfo/test_peerinfo_api_friend_only.c
index 8d50cf417..a5414e701 100644
--- a/src/peerinfo/test_peerinfo_api_friend_only.c
+++ b/src/peerinfo/test_peerinfo_api_friend_only.c
@@ -168,4 +168,5 @@ main (int argc,
168 return global_ret; 168 return global_ret;
169} 169}
170 170
171
171/* end of test_peerinfo_api_friend_only */ 172/* end of test_peerinfo_api_friend_only */
diff --git a/src/peerinfo/test_peerinfo_api_notify_friend_only.c b/src/peerinfo/test_peerinfo_api_notify_friend_only.c
index 7c5162102..6d5793dcf 100644
--- a/src/peerinfo/test_peerinfo_api_notify_friend_only.c
+++ b/src/peerinfo/test_peerinfo_api_notify_friend_only.c
@@ -108,6 +108,7 @@ done (void *cls)
108 GNUNET_break (0); 108 GNUNET_break (0);
109} 109}
110 110
111
111static ssize_t 112static ssize_t
112address_generator (void *cls, size_t max, void *buf) 113address_generator (void *cls, size_t max, void *buf)
113{ 114{
@@ -171,6 +172,7 @@ process_w_fo (void *cls,
171 } 172 }
172} 173}
173 174
175
174static void 176static void
175process_wo_fo (void *cls, const struct GNUNET_PeerIdentity *peer, 177process_wo_fo (void *cls, const struct GNUNET_PeerIdentity *peer,
176 const struct GNUNET_HELLO_Message *hello, const char *err_msg) 178 const struct GNUNET_HELLO_Message *hello, const char *err_msg)
@@ -255,4 +257,5 @@ main (int argc, char *argv[])
255 return global_ret; 257 return global_ret;
256} 258}
257 259
260
258/* end of test_peerinfo_api_notify_friend_only.c */ 261/* end of test_peerinfo_api_notify_friend_only.c */
diff --git a/src/peerinfo/test_peerinfo_shipped_hellos.c b/src/peerinfo/test_peerinfo_shipped_hellos.c
index 24cc26a94..45ea73be6 100644
--- a/src/peerinfo/test_peerinfo_shipped_hellos.c
+++ b/src/peerinfo/test_peerinfo_shipped_hellos.c
@@ -140,4 +140,5 @@ main (int argc,
140 return global_ret; 140 return global_ret;
141} 141}
142 142
143
143/* end of test_peerinfo_shipped_hellos.c */ 144/* end of test_peerinfo_shipped_hellos.c */