summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2021-08-10 16:26:15 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-08-10 16:26:15 +0000
commit0ff28749853b6b3bcff4337d4e6886a4be3a6113 (patch)
tree3d8ed9423135468d799174b1bc0e1c10eb406d1d
parent73bdc472d186798ca26b7c2471b643589c0f5eb3 (diff)
parent3a3051449016066378cbc1804e55e2cfc39ffc26 (diff)
downloadppp-0ff28749853b6b3bcff4337d4e6886a4be3a6113.tar.gz
Merge "Fix build for compiler update." am: d341fba5dc am: e976ea55be am: 228680fe3c am: 3a30514490
Original change: https://android-review.googlesource.com/c/platform/external/ppp/+/1790958 Change-Id: Ic356835cdfc473f39419af2e1b6aea04450c13e4
-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;