Add cmsg_nxthdr.c
authorDavid Bartley <dtbartle@maltodextrin.csclub.uwaterloo.ca>
Mon, 12 Jan 2009 02:52:50 +0000 (21:52 -0500)
committerDavid Bartley <dtbartle@maltodextrin.csclub.uwaterloo.ca>
Mon, 12 Jan 2009 02:52:50 +0000 (21:52 -0500)
sysdeps/unix/sysv/solaris2/kopensolaris-gnu/Makefile
sysdeps/unix/sysv/solaris2/kopensolaris-gnu/Versions
sysdeps/unix/sysv/solaris2/kopensolaris-gnu/cmsg_nxthdr.c [new file with mode: 0644]

index 72f1a68..e8363a0 100644 (file)
@@ -78,7 +78,7 @@ sysdep_routines += sys_lwp_sigmask sys_sigqueue sys_sigtimedwait \
 endif
 
 ifeq ($(subdir),socket)
-sysdep_routines += sa_len
+sysdep_routines += cmsg_nxthdr sa_len
 sysdep_routines += netmask
 headers := $(filter-out sys/socketvar.h, $(headers))
 endif
index 6172b4b..949fc52 100644 (file)
@@ -22,11 +22,12 @@ libc {
     atomic_dec_ulong_nv; atomic_dec_64_nv; atomic_dec_ptr_nv;
 
     # c
-    cftime; closefrom; core_get_default_content; core_get_default_path;
-    core_get_global_content; core_get_global_path; core_get_options;
-    core_get_process_content; core_get_process_path; core_set_default_content;
-    core_set_default_path; core_set_global_content; core_set_global_path;
-    core_set_options; core_set_process_content; core_set_process_path;
+    cftime; closefrom; __cmsg_nxthdr; core_get_default_content;
+    core_get_default_path; core_get_global_content; core_get_global_path;
+    core_get_options; core_get_process_content; core_get_process_path;
+    core_set_default_content; core_set_default_path; core_set_global_content;
+    core_set_global_path; core_set_options; core_set_process_content;
+    core_set_process_path;
 
     # d
     _delete; defcntl; defopen; defread; door_bind; door_call; door_cred;
diff --git a/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/cmsg_nxthdr.c b/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/cmsg_nxthdr.c
new file mode 100644 (file)
index 0000000..11e16cb
--- /dev/null
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/cmsg_nxthdr.c>