osmith submitted this change.
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(-)
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 change 41174. To unsubscribe, or for help writing mail filters, visit settings.