summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2021-08-10 15:46:30 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-08-10 15:46:30 +0000
commite976ea55be6438cab49a424a28e940db551d490b (patch)
tree3d8ed9423135468d799174b1bc0e1c10eb406d1d
parent650e816f7e186ecaee899fa14fb34e10f9644fa1 (diff)
parentd341fba5dca585ad1d1aa0e50474e0ffbeb78092 (diff)
downloadppp-e976ea55be6438cab49a424a28e940db551d490b.tar.gz
Merge "Fix build for compiler update." am: d341fba5dc
Original change: https://android-review.googlesource.com/c/platform/external/ppp/+/1790958 Change-Id: Ib47b174bdc625650ec0a3c8a23629212402f3f4e
-rw-r--r--pppd/sys-linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pppd/sys-linux.c b/pppd/sys-linux.c
index d5dbc7c..4fbcca9 100644
--- a/pppd/sys-linux.c
+++ b/pppd/sys-linux.c
@@ -1044,7 +1044,7 @@ void restore_tty (int tty_fd)
* output - Output PPP packet.
*/
-void output (int unit, unsigned char *p, int len)
+__attribute((weak)) void output (int unit, unsigned char *p, int len)
{
int fd = ppp_fd;
int proto;