aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2017-11-28 00:29:25 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-11-29 17:37:18 +0000
commita2733ae9dcd4dc5688cce4fb5c48cc3efb800400 (patch)
tree46908a374ee40c73f9f2f60ef7a7efd497fcc2f1 /include
parentf0ea05e52fbf86dda1f647b8f4055a3f4469080b (diff)
cosmetic: handover.h: use "#pragma once", declare structs, comments
Use new #pragma style instead of #ifndef dance. Forward-declare all structs we're using pointers of. Move function comments to their definitions in the .c file. Change-Id: I3d43ec01897c0ef9eaf506e68d5a1ec1977f70ea
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/bsc/handover.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/include/osmocom/bsc/handover.h b/include/osmocom/bsc/handover.h
index 3fe71a28b..9e2ba1a59 100644
--- a/include/osmocom/bsc/handover.h
+++ b/include/osmocom/bsc/handover.h
@@ -1,14 +1,9 @@
-#ifndef _HANDOVER_H
-#define _HANDOVER_H
+#pragma once
+struct gsm_lchan;
+struct gsm_bts;
struct gsm_subscriber_connection;
int bsc_handover_start(struct gsm_lchan *old_lchan, struct gsm_bts *bts);
-
-/* clear any operation for this connection */
void bsc_clear_handover(struct gsm_subscriber_connection *conn, int free_lchan);
-
-/* Return the old lchan or NULL. This is meant for audio handling */
struct gsm_lchan *bsc_handover_pending(struct gsm_lchan *new_lchan);
-
-#endif /* _HANDOVER_H */