From 4ce5a3d379b0391e39c7ad7aeef9bae6505099f9 Mon Sep 17 00:00:00 2001 From: Yavor Goulishev Date: Tue, 1 Oct 2024 09:42:25 -0700 Subject: [PATCH] Remove duplicates from the exported symbols. (#4175) b/370565221 Change-Id: I14bbb59c7a7ccc86dbb7630543d80a6cac512db9 --- starboard/elf_loader/exported_symbols.cc | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/starboard/elf_loader/exported_symbols.cc b/starboard/elf_loader/exported_symbols.cc index 9293c42fe269..6fa15ac3db10 100644 --- a/starboard/elf_loader/exported_symbols.cc +++ b/starboard/elf_loader/exported_symbols.cc @@ -228,26 +228,18 @@ ExportedSymbols::ExportedSymbols() { REGISTER_SYMBOL(SbWindowSetDefaultOptions); // POSIX APIs - REGISTER_SYMBOL(accept); - REGISTER_SYMBOL(bind); REGISTER_SYMBOL(calloc); REGISTER_SYMBOL(close); REGISTER_SYMBOL(closedir); - REGISTER_SYMBOL(connect); REGISTER_SYMBOL(fcntl); REGISTER_SYMBOL(free); - REGISTER_SYMBOL(freeaddrinfo); REGISTER_SYMBOL(freeifaddrs); - REGISTER_SYMBOL(fstat); REGISTER_SYMBOL(fsync); REGISTER_SYMBOL(ftruncate); - REGISTER_SYMBOL(getaddrinfo); - REGISTER_SYMBOL(getifaddrs); REGISTER_SYMBOL(getpeername); REGISTER_SYMBOL(getsockname); REGISTER_SYMBOL(getsockopt); REGISTER_SYMBOL(listen); - REGISTER_SYMBOL(lseek); REGISTER_SYMBOL(malloc); REGISTER_SYMBOL(mkdir); REGISTER_SYMBOL(mprotect); @@ -256,7 +248,6 @@ ExportedSymbols::ExportedSymbols() { REGISTER_SYMBOL(open); REGISTER_SYMBOL(opendir); REGISTER_SYMBOL(posix_memalign); - REGISTER_SYMBOL(read); REGISTER_SYMBOL(realloc); REGISTER_SYMBOL(recv); REGISTER_SYMBOL(recvfrom); @@ -265,11 +256,9 @@ ExportedSymbols::ExportedSymbols() { REGISTER_SYMBOL(sched_yield); REGISTER_SYMBOL(send); REGISTER_SYMBOL(sendto); - REGISTER_SYMBOL(setsockopt); REGISTER_SYMBOL(socket); REGISTER_SYMBOL(snprintf); REGISTER_SYMBOL(sprintf); - REGISTER_SYMBOL(stat); REGISTER_SYMBOL(unlink); REGISTER_SYMBOL(usleep); REGISTER_SYMBOL(vfwprintf);