From 0fc105b5eaba60b8b77fc2ad03c6256231009745 Mon Sep 17 00:00:00 2001 From: David Bartley Date: Sun, 11 Jan 2009 21:52:50 -0500 Subject: [PATCH] Add cmsg_nxthdr.c --- sysdeps/unix/sysv/solaris2/kopensolaris-gnu/Makefile | 2 +- sysdeps/unix/sysv/solaris2/kopensolaris-gnu/Versions | 11 ++++++----- sysdeps/unix/sysv/solaris2/kopensolaris-gnu/cmsg_nxthdr.c | 1 + 3 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 sysdeps/unix/sysv/solaris2/kopensolaris-gnu/cmsg_nxthdr.c diff --git a/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/Makefile b/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/Makefile index 72f1a6869d..e8363a04ff 100644 --- a/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/Makefile +++ b/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/Makefile @@ -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 diff --git a/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/Versions b/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/Versions index 6172b4bafb..949fc52072 100644 --- a/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/Versions +++ b/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/Versions @@ -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 index 0000000000..11e16cb567 --- /dev/null +++ b/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/cmsg_nxthdr.c @@ -0,0 +1 @@ +#include -- 2.11.0