diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-25 21:07:24 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-25 21:07:24 +0000 |
commit | ee266d0bd0b96c67ac1c7f76fff41980bb181e64 (patch) | |
tree | 83ecfde601054fe58e1748653ef0d05d9833b48f /src/transport/test_transport_api_reliability.c | |
parent | cc1a0361b423f92a18115785c13893e04bf6799a (diff) | |
download | gnunet-ee266d0bd0b96c67ac1c7f76fff41980bb181e64.tar.gz gnunet-ee266d0bd0b96c67ac1c7f76fff41980bb181e64.zip |
-indentation plugin_transport_udp.c
Diffstat (limited to 'src/transport/test_transport_api_reliability.c')
-rw-r--r-- | src/transport/test_transport_api_reliability.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/transport/test_transport_api_reliability.c b/src/transport/test_transport_api_reliability.c index a727d3e6a..903e6efdc 100644 --- a/src/transport/test_transport_api_reliability.c +++ b/src/transport/test_transport_api_reliability.c | |||
@@ -87,22 +87,22 @@ static int ok; | |||
87 | /** | 87 | /** |
88 | * Context of peer 1 | 88 | * Context of peer 1 |
89 | */ | 89 | */ |
90 | struct PeerContext *p1; | 90 | static struct PeerContext *p1; |
91 | 91 | ||
92 | /** | 92 | /** |
93 | * Configuration file of peer 1 | 93 | * Configuration file of peer 1 |
94 | */ | 94 | */ |
95 | char *cfg_file_p1; | 95 | static char *cfg_file_p1; |
96 | 96 | ||
97 | /** | 97 | /** |
98 | * Context of peer 2 | 98 | * Context of peer 2 |
99 | */ | 99 | */ |
100 | struct PeerContext *p2; | 100 | static struct PeerContext *p2; |
101 | 101 | ||
102 | /** | 102 | /** |
103 | * Configuration file of peer 1 | 103 | * Configuration file of peer 1 |
104 | */ | 104 | */ |
105 | char *cfg_file_p2; | 105 | static char *cfg_file_p2; |
106 | 106 | ||
107 | /** | 107 | /** |
108 | * Timeout task | 108 | * Timeout task |
@@ -112,12 +112,12 @@ static struct GNUNET_SCHEDULER_Task * die_task; | |||
112 | /** | 112 | /** |
113 | * Transport transmit handle used | 113 | * Transport transmit handle used |
114 | */ | 114 | */ |
115 | struct GNUNET_TRANSPORT_TransmitHandle *th; | 115 | static struct GNUNET_TRANSPORT_TransmitHandle *th; |
116 | 116 | ||
117 | /** | 117 | /** |
118 | * Transport testing handle | 118 | * Transport testing handle |
119 | */ | 119 | */ |
120 | struct GNUNET_TRANSPORT_TESTING_handle *tth; | 120 | static struct GNUNET_TRANSPORT_TESTING_handle *tth; |
121 | 121 | ||
122 | /* | 122 | /* |
123 | * Total amount of bytes sent | 123 | * Total amount of bytes sent |
@@ -145,7 +145,9 @@ static int msg_sent; | |||
145 | static int msg_recv; | 145 | static int msg_recv; |
146 | 146 | ||
147 | static int test_connected; | 147 | static int test_connected; |
148 | |||
148 | static int test_sending; | 149 | static int test_sending; |
150 | |||
149 | static int test_send_timeout; | 151 | static int test_send_timeout; |
150 | 152 | ||
151 | 153 | ||
@@ -167,9 +169,11 @@ static GNUNET_TRANSPORT_TESTING_ConnectRequest cc; | |||
167 | #define OKPP do { ok++; } while (0) | 169 | #define OKPP do { ok++; } while (0) |
168 | #endif | 170 | #endif |
169 | 171 | ||
172 | |||
170 | static int | 173 | static int |
171 | get_bit (const char *map, unsigned int bit); | 174 | get_bit (const char *map, unsigned int bit); |
172 | 175 | ||
176 | |||
173 | static void | 177 | static void |
174 | end () | 178 | end () |
175 | { | 179 | { |