From 98910dbd4677f5d0d40ec5047705b2698c5c7676 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 6 Sep 2009 20:32:06 +0000 Subject: =?UTF-8?q?2009-09-06=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * libcsupport/src/issetugid.c: New (relocated from libnetworking). * libnetworking/rtems/issetugid.c: Remove. * libnetworking/Makefile.am: Reflect changes above. * libcsupport/Makefile.am: Reflect changes above. --- cpukit/ChangeLog | 7 +++++++ cpukit/libcsupport/Makefile.am | 2 +- cpukit/libcsupport/src/issetugid.c | 15 +++++++++++++++ cpukit/libnetworking/Makefile.am | 2 +- cpukit/libnetworking/rtems/issetugid.c | 15 --------------- 5 files changed, 24 insertions(+), 17 deletions(-) create mode 100644 cpukit/libcsupport/src/issetugid.c delete mode 100644 cpukit/libnetworking/rtems/issetugid.c (limited to 'cpukit') diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 01e47b9377..2cd8aead5f 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,10 @@ +2009-09-06 Ralf Corsépius + + * libcsupport/src/issetugid.c: New (relocated from libnetworking). + * libnetworking/rtems/issetugid.c: Remove. + * libnetworking/Makefile.am: Reflect changes above. + * libcsupport/Makefile.am: Reflect changes above. + 2009-09-06 Sebastian Huber * libcsupport/src/free.c, libmisc/stackchk/check.c, diff --git a/cpukit/libcsupport/Makefile.am b/cpukit/libcsupport/Makefile.am index 4defdc2195..7157526959 100644 --- a/cpukit/libcsupport/Makefile.am +++ b/cpukit/libcsupport/Makefile.am @@ -105,7 +105,7 @@ LIBC_GLUE_C_FILES = src/__getpid.c src/__gettod.c src/__times.c \ src/newlibc_reent.c src/newlibc_init.c src/newlibc_exit.c src/no_posix.c \ src/no_libc.c src/utsname.c -BSD_LIBC_C_FILES = src/strlcpy.c src/strlcat.c +BSD_LIBC_C_FILES = src/strlcpy.c src/strlcat.c src/issetugid.c libcsupport_a_SOURCES = src/gxx_wrappers.c src/getchark.c src/printk.c \ src/printk_plugin.c src/putk.c src/vprintk.c \ diff --git a/cpukit/libcsupport/src/issetugid.c b/cpukit/libcsupport/src/issetugid.c new file mode 100644 index 0000000000..09deaaf019 --- /dev/null +++ b/cpukit/libcsupport/src/issetugid.c @@ -0,0 +1,15 @@ +/* + * Dummy version of BSD routine + * + * $Id$ + */ + +#if HAVE_CONFIG_H +#include "config.h" +#endif + +int +issetugid (void) +{ + return 0; +} diff --git a/cpukit/libnetworking/Makefile.am b/cpukit/libnetworking/Makefile.am index bce7b56efc..41f3012e65 100644 --- a/cpukit/libnetworking/Makefile.am +++ b/cpukit/libnetworking/Makefile.am @@ -116,7 +116,7 @@ include_rtems_HEADERS = rtems/rtems_bsdnet.h rtems/rtems_bsdnet_internal.h \ rtems/mkrootfs.h include_rtems_HEADERS += rtems/rtems_mii_ioctl.h -libnetworking_a_SOURCES += rtems/sghostname.c rtems/issetugid.c \ +libnetworking_a_SOURCES += rtems/sghostname.c \ rtems/rtems_glue.c rtems/rtems_malloc_mbuf.c rtems/rtems_syscall.c \ rtems/rtems_bootp.c rtems/rtems_dhcp.c rtems/rtems_dhcp_failsafe.c \ rtems/rtems_showmbuf.c rtems/rtems_showroute.c rtems/rtems_showifstat.c \ diff --git a/cpukit/libnetworking/rtems/issetugid.c b/cpukit/libnetworking/rtems/issetugid.c deleted file mode 100644 index 09deaaf019..0000000000 --- a/cpukit/libnetworking/rtems/issetugid.c +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Dummy version of BSD routine - * - * $Id$ - */ - -#if HAVE_CONFIG_H -#include "config.h" -#endif - -int -issetugid (void) -{ - return 0; -} -- cgit v1.2.3