Timur Davydov has uploaded this change for review.

View Change

abis: align e1 input init prototypes for stricter compilers

Change return types of e1inp_dahdi_init(), e1inp_e1d_init() and
e1inp_rs232_init() from void to int to match their implementations.

Required for stricter compilers (e.g. Emscripten) which reject
mismatched function prototypes.

Change-Id: I93cd079003abb5665f1995647cfa94dc8e901ed9
---
M src/e1_input.c
1 file changed, 3 insertions(+), 3 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/77/42677/1
diff --git a/src/e1_input.c b/src/e1_input.c
index c5ee38f..8c381ab 100644
--- a/src/e1_input.c
+++ b/src/e1_input.c
@@ -1151,10 +1151,10 @@
};

void e1inp_misdn_init(void);
-void e1inp_dahdi_init(void);
-void e1inp_e1d_init(void);
+int e1inp_dahdi_init(void);
+int e1inp_e1d_init(void);
void e1inp_ipaccess_init(void);
-void e1inp_rs232_init(void);
+int e1inp_rs232_init(void);
void e1inp_unixsocket_init(void);

void e1inp_init(void)

To view, visit change 42677. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I93cd079003abb5665f1995647cfa94dc8e901ed9
Gerrit-Change-Number: 42677
Gerrit-PatchSet: 1
Gerrit-Owner: Timur Davydov <dtv.comp@gmail.com>