Skip to content

Commit

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

Change-Id: I14bbb59c7a7ccc86dbb7630543d80a6cac512db9
(cherry picked from commit 4ce5a3d)
  • Loading branch information
y4vor authored and anonymous1-me committed Oct 1, 2024
1 parent 9fb9073 commit 6cf8f21
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions starboard/elf_loader/exported_symbols.cc
Original file line number Diff line number Diff line change
Expand Up @@ -461,24 +461,22 @@ ExportedSymbols::ExportedSymbols() {

#if SB_API_VERSION >= 16
// 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);
<<<<<<< HEAD
REGISTER_SYMBOL(getaddrinfo);
REGISTER_SYMBOL(getifaddrs);
=======
REGISTER_SYMBOL(getpeername);
>>>>>>> 4ce5a3d379b (Remove duplicates from the exported symbols. (#4175))
REGISTER_SYMBOL(getsockname);
REGISTER_SYMBOL(listen);
REGISTER_SYMBOL(lseek);
REGISTER_SYMBOL(malloc);
REGISTER_SYMBOL(mkdir);
REGISTER_SYMBOL(mprotect);
Expand All @@ -487,19 +485,16 @@ ExportedSymbols::ExportedSymbols() {
REGISTER_SYMBOL(open);
REGISTER_SYMBOL(opendir);
REGISTER_SYMBOL(posix_memalign);
REGISTER_SYMBOL(read);
REGISTER_SYMBOL(realloc);
REGISTER_SYMBOL(recv);
REGISTER_SYMBOL(send);
REGISTER_SYMBOL(recvfrom);
REGISTER_SYMBOL(rmdir);
REGISTER_SYMBOL(sched_yield);
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 6cf8f21

Please sign in to comment.