Skip to content

Commit

Permalink
Remove duplicates from the exported symbols. (youtube#4175)
Browse files Browse the repository at this point in the history
b/370565221

Change-Id: I14bbb59c7a7ccc86dbb7630543d80a6cac512db9
  • Loading branch information
y4vor authored Oct 1, 2024
1 parent 06c3271 commit 4ce5a3d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions starboard/elf_loader/exported_symbols.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 4ce5a3d

Please sign in to comment.