From aaca17fc7fb09b54fe272a8b2362d48eeef30d0e Mon Sep 17 00:00:00 2001 From: verhaegs Date: Wed, 13 Feb 2013 21:13:42 +0000 Subject: [PATCH] compiler/clib: Removed ioctl() stub. ioctl() is provided by AROSTCP for the programs that need it. This patch breaks backward compatibility with software that accessed the arosc.library ioctl() function. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@46587 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- compiler/clib/arosc.conf | 2 +- compiler/clib/ioctl.c | 48 --------------------------------------------- compiler/clib/mmakefile.src | 1 - 3 files changed, 1 insertion(+), 50 deletions(-) delete mode 100644 compiler/clib/ioctl.c diff --git a/compiler/clib/arosc.conf b/compiler/clib/arosc.conf index d81629e7a0..2f22a6fffc 100644 --- a/compiler/clib/arosc.conf +++ b/compiler/clib/arosc.conf @@ -237,7 +237,7 @@ int mknod(const char *path, mode_t mode, dev_t dev) pid_t getppid(void) int execl(const char *path, const char *arg, ...) pid_t getpgrp(void) -int ioctl(int fd, int request, ...) + pid_t wait(int *status) int setuid(uid_t uid) int setgid(gid_t gid) diff --git a/compiler/clib/ioctl.c b/compiler/clib/ioctl.c deleted file mode 100644 index 40287ef5aa..0000000000 --- a/compiler/clib/ioctl.c +++ /dev/null @@ -1,48 +0,0 @@ -/* - Copyright © 2004, The AROS Development Team. All rights reserved. - $Id$ -*/ - -#include - -#include - -/***************************************************************************** - - NAME */ - -#include - - int ioctl( - -/* SYNOPSIS */ - int fd, - int request, - ...) - -/* FUNCTION - - INPUTS - - RESULT - - NOTES - Not implemented. - - EXAMPLE - - BUGS - - SEE ALSO - - INTERNALS - -******************************************************************************/ -{ - /* FIXME: Implement ioctl() */ - AROS_FUNCTION_NOT_IMPLEMENTED("arosc"); - errno = ENOSYS; - - return -1; -} - diff --git a/compiler/clib/mmakefile.src b/compiler/clib/mmakefile.src index 24be8226bc..32f99293e7 100644 --- a/compiler/clib/mmakefile.src +++ b/compiler/clib/mmakefile.src @@ -210,7 +210,6 @@ SHARED := \ gmtime \ gmtime_r \ isatty \ - ioctl \ jrand48 \ kill \ labs \ -- 2.11.4.GIT