osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/dahdi-tools/+/41174?usp=email )


Change subject: xpp/echo_loader: make get_ver static
......................................................................

xpp/echo_loader: make get_ver static

Fix the following errors seen with CFLAGS=-g in the master-dahdi-tools
job in jenkins:

  /usr/bin/ld: ./.libs/libecholoader.a(libecholoader_la-echo_loader.o): in 
function `init_octasic':
  /build/xpp/echo_loader.c:598:(.text+0x1777): undefined reference to `get_ver'
  /usr/bin/ld: ./.libs/libecholoader.a(libecholoader_la-echo_loader.o): in 
function `echo_ver':
  /build/xpp/echo_loader.c:883:(.text+0x2503): undefined reference to `get_ver'

Related: https://stackoverflow.com/a/77501693
Change-Id: I835d82c11f02c9635923d93fa36b46bbb46a9b48
---
M xpp/echo_loader.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/dahdi-tools refs/changes/74/41174/1

diff --git a/xpp/echo_loader.c b/xpp/echo_loader.c
index 827f6ef..117414e 100644
--- a/xpp/echo_loader.c
+++ b/xpp/echo_loader.c
@@ -564,7 +564,7 @@
        return cOCT6100_ERR_OK;
 }

-inline int get_ver(struct astribank *astribank)
+static inline int get_ver(struct astribank *astribank)
 {
        return spi_send(astribank, 0, 0, 1, 1);
 }

-- 
To view, visit https://gerrit.osmocom.org/c/dahdi-tools/+/41174?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: dahdi-tools
Gerrit-Branch: master
Gerrit-Change-Id: I835d82c11f02c9635923d93fa36b46bbb46a9b48
Gerrit-Change-Number: 41174
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>

Reply via email to