2000-11-01 Joel Sherrill <joel@OARcorp.com>

* include/Makefile.am, include/rtems/libio_.h, libc/Makefile.am,
	libc/assoc.c, libc/assocnamebad.c, libc/base_fs.c, libc/cfsetispeed.c,
	libc/cfsetospeed.c, libc/chdir.c, libc/chmod.c, libc/chown.c,
	libc/close.c, libc/closedir.c, libc/dup2.c, libc/error.c, libc/eval.c,
	libc/fchdir.c, libc/fchmod.c, libc/fcntl.c, libc/fdatasync.c,
	libc/fpathconf.c, libc/fstat.c, libc/fsync.c, libc/ftruncate.c,
	libc/getdents.c, libc/ioctl.c, libc/libio.c, libc/libio_sockets.c,
	libc/link.c, libc/lseek.c, libc/malloc.c, libc/mallocfreespace.c,
	libc/mknod.c, libc/mount.c, libc/newlibc.c, libc/no_libc.c,
	libc/open.c, libc/read.c, libc/readlink.c, libc/rmdir.c, libc/stat.c,
	libc/symlink.c, libc/tcsetattr.c, libc/telldir.c, libc/ttyname.c,
	libc/ttyname_r.c, libc/umask.c, libc/unlink.c, libc/unmount.c,
	libc/utime.c, libc/write.c:
	assoc.h, error.h, libio_.h, libio.h, and libcsupport.h moved
	from libc to lib/include/rtems and now must be referenced as
	<rtems/XXX.h>.
	* include/rtems/Makefile.am, include/rtems/.cvsignore: New file.
	* include/rtems/assoc.h, include/rtems/error.h,
	include/rtems/libcsupport.h, include/rtems/libio.h,
	include/rtems/libio_.h: New/moved files.
This commit is contained in:
Joel Sherrill
2000-11-01 21:08:14 +00:00
parent ce28b28312
commit 3ba74c733f
162 changed files with 211 additions and 1188 deletions
+2 -2
View File
@@ -11,8 +11,8 @@
* $Id$
*/
#ifndef __LIBIO__h
#define __LIBIO__h
#ifndef __RTEMS_LIBIO_INTERNAL__h
#define __RTEMS_LIBIO_INTERNAL__h
#ifdef __cplusplus
extern "C" {
@@ -0,0 +1,2 @@
Makefile
Makefile.in
@@ -11,8 +11,8 @@
* $Id$
*/
#ifndef __LIBIO__h
#define __LIBIO__h
#ifndef __RTEMS_LIBIO_INTERNAL__h
#define __RTEMS_LIBIO_INTERNAL__h
#ifdef __cplusplus
extern "C" {
+1 -25
View File
@@ -56,34 +56,10 @@ C_FILES = $(COMMON_C_FILES) $(EMBEDDED_C_FILES)
endif
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
H_FILES = libcsupport.h
SYS_H_FILES =
RTEMS_H_FILES = assoc.h error.h libio.h
noinst_HEADERS = libio_.h
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../../../automake/compile.am
include $(top_srcdir)/../../../automake/lib.am
PREINSTALL_FILES += $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/rtems \
$(PROJECT_INCLUDE)/sys $(H_FILES:%=$(PROJECT_INCLUDE)/%) \
$(RTEMS_H_FILES:%=$(PROJECT_INCLUDE)/rtems/%) \
$(SYS_H_FILES:%=$(PROJECT_INCLUDE)/sys/%)
$(PROJECT_INCLUDE):
@$(mkinstalldirs) $@
$(PROJECT_INCLUDE)/rtems:
@$(mkinstalldirs) $@
$(PROJECT_INCLUDE)/sys:
@$(mkinstalldirs) $@
$(PROJECT_INCLUDE)/%.h: %.h
$(INSTALL_DATA) $< $@
$(PROJECT_INCLUDE)/rtems/%.h: %.h
$(INSTALL_DATA) $< $@
$(PROJECT_INCLUDE)/sys/%.h: %.h
$(INSTALL_DATA) $< $@
TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
OBJS = $(C_O_FILES)
@@ -105,6 +81,6 @@ $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
DOC_FILES = TODO CASES
EXTRA_DIST = $(DOC_FILES) $(COMMON_C_FILES) $(EMBEDDED_C_FILES) \
$(UNIX_C_FILES) $(H_FILES) $(RTEMS_H_FILES) $(SYS_H_FILES)
$(UNIX_C_FILES)
include $(top_srcdir)/../../../automake/local.am
+1 -1
View File
@@ -6,7 +6,7 @@
*/
#include <rtems.h>
#include "assoc.h"
#include <rtems/assoc.h>
#include <string.h> /* strcat, strcmp */
+1 -1
View File
@@ -6,7 +6,7 @@
*/
#include <rtems.h>
#include "assoc.h"
#include <rtems/assoc.h>
#include <stdio.h> /* sprintf */
#include <string.h> /* strcat, strcmp */
+1 -1
View File
@@ -13,7 +13,7 @@
#include <rtems.h>
#include <rtems/libio.h>
#include "libio_.h"
#include <rtems/libio_.h>
/*
* Global information for the base file system.
+1 -1
View File
@@ -19,7 +19,7 @@
#include <errno.h>
#include <termios.h>
#include "libio_.h"
#include <rtems/libio_.h>
int cfsetispeed(
struct termios *tp,
+1 -1
View File
@@ -19,7 +19,7 @@
#include <errno.h>
#include <termios.h>
#include "libio_.h"
#include <rtems/libio_.h>
int cfsetospeed(
struct termios *tp,
+1 -1
View File
@@ -16,7 +16,7 @@
#include <unistd.h>
#include <errno.h>
#include "libio_.h"
#include <rtems/libio_.h>
int chdir(
const char *pathname
+1 -1
View File
@@ -18,7 +18,7 @@
#include <errno.h>
#include <unistd.h>
#include "libio_.h"
#include <rtems/libio_.h>
int chmod(
const char *path,
+1 -1
View File
@@ -17,7 +17,7 @@
#include <rtems.h>
#include <rtems/libio.h>
#include "libio_.h"
#include <rtems/libio_.h>
int chown(
const char *path,
+1 -1
View File
@@ -11,7 +11,7 @@
* $Id$
*/
#include "libio_.h"
#include <rtems/libio_.h>
int close(
int fd
+1 -1
View File
@@ -47,7 +47,7 @@ static char sccsid[] = "@(#)closedir.c 5.9 (Berkeley) 2/23/91";
#include <errno.h>
#include "libio_.h"
#include <rtems/libio_.h>
/*
* close a directory.
+1 -1
View File
@@ -14,7 +14,7 @@
#include <unistd.h>
#include <fcntl.h>
#include "libio_.h"
#include <rtems/libio_.h>
int dup2(
int fildes,
+1 -1
View File
@@ -43,7 +43,7 @@
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h>
#include "error.h"
#include <rtems/error.h>
#include <rtems/assoc.h>
#include <stdio.h>
+1 -1
View File
@@ -14,7 +14,7 @@
*/
#include <rtems.h>
#include "libio_.h"
#include <rtems/libio_.h>
int rtems_filesystem_evaluate_path(
const char *pathname,
+1 -1
View File
@@ -17,7 +17,7 @@
#include <rtems.h>
#include <rtems/libio.h>
#include "libio_.h"
#include <rtems/libio_.h>
int fchdir(
int fd
+1 -1
View File
@@ -17,7 +17,7 @@
#include <rtems.h>
#include <rtems/libio.h>
#include "libio_.h"
#include <rtems/libio_.h>
int fchmod(
int fd,
+1 -1
View File
@@ -16,7 +16,7 @@
#include <errno.h>
#include <rtems.h>
#include "libio_.h"
#include <rtems/libio_.h>
int fcntl(
int fd,
+1 -1
View File
@@ -13,7 +13,7 @@
#include <unistd.h>
#include "libio_.h"
#include <rtems/libio_.h>
int fdatasync(
int fd
+1 -1
View File
@@ -11,7 +11,7 @@
* $Id$
*/
#include "libio_.h"
#include <rtems/libio_.h>
#include <unistd.h>
#include <errno.h>
+1 -1
View File
@@ -15,7 +15,7 @@
#include <unistd.h>
#include <string.h>
#include "libio_.h"
#include <rtems/libio_.h>
int fstat(
int fd,
+1 -1
View File
@@ -13,7 +13,7 @@
#include <unistd.h>
#include "libio_.h"
#include <rtems/libio_.h>
int fsync(
int fd
+1 -1
View File
@@ -14,7 +14,7 @@
#include <unistd.h>
#include <errno.h>
#include "libio_.h"
#include <rtems/libio_.h>
int ftruncate(
int fd,
+1 -1
View File
@@ -19,7 +19,7 @@
#include <errno.h>
#include "libio_.h"
#include <rtems/libio_.h>
int getdents(
int dd_fd,
+1 -1
View File
@@ -14,7 +14,7 @@
* $Id$
*/
#include "libio_.h"
#include <rtems/libio_.h>
#include <unistd.h>
+1 -1
View File
@@ -13,7 +13,7 @@
* $Id$
*/
#include "libio_.h" /* libio_.h pulls in rtems */
#include <rtems/libio_.h> /* libio_.h pulls in rtems */
#include <rtems.h>
#include <rtems/assoc.h> /* assoc.h not included by rtems.h */
+1 -1
View File
@@ -12,7 +12,7 @@
* $Id$
*/
#include "libio_.h" /* libio_.h pulls in rtems */
#include <rtems/libio_.h> /* libio_.h pulls in rtems */
#include <rtems.h>
#include <errno.h>
+1 -1
View File
@@ -15,7 +15,7 @@
#include <rtems/libio.h>
#include <errno.h>
#include "libio_.h"
#include <rtems/libio_.h>
int link(
const char *existing,
+1 -1
View File
@@ -13,7 +13,7 @@
#include <stdio.h>
#include "libio_.h"
#include <rtems/libio_.h>
off_t lseek(
int fd,
+1 -1
View File
@@ -14,7 +14,7 @@
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h>
#include "libcsupport.h"
#include <rtems/libcsupport.h>
#ifdef RTEMS_NEWLIB
#include <sys/reent.h>
#endif
+1 -1
View File
@@ -14,7 +14,7 @@
#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
#include <rtems.h>
#include "libcsupport.h"
#include <rtems/libcsupport.h>
#include <stdio.h>
#include <stdlib.h>
+1 -1
View File
@@ -22,7 +22,7 @@
#include <errno.h>
#include <stdlib.h>
#include "libio_.h"
#include <rtems/libio_.h>
int mknod(
const char *pathname,
+1 -1
View File
@@ -27,7 +27,7 @@
#include <string.h>
#include <assert.h>
#include "libio_.h"
#include <rtems/libio_.h>
Chain_Control rtems_filesystem_mount_table_control;
+1 -1
View File
@@ -17,7 +17,7 @@
#include <rtems.h>
#if defined(RTEMS_NEWLIB)
#include <libcsupport.h>
#include <rtems/libcsupport.h>
#include <stdlib.h> /* for free() */
#include <string.h> /* for memset() */
+1 -1
View File
@@ -16,7 +16,7 @@
#include <rtems.h>
#if !defined(RTEMS_NEWLIB) && !defined(RTEMS_UNIX)
#include "libcsupport.h"
#include <rtems/libcsupport.h>
#include <stdlib.h> /* for free() */
+1 -1
View File
@@ -11,7 +11,7 @@
* $Id$
*/
#include "libio_.h"
#include <rtems/libio_.h>
#include <unistd.h>
+1 -1
View File
@@ -11,7 +11,7 @@
* $Id$
*/
#include "libio_.h"
#include <rtems/libio_.h>
ssize_t read(
int fd,
+1 -1
View File
@@ -11,7 +11,7 @@
* $Id$
*/
#include "libio_.h"
#include <rtems/libio_.h>
int readlink(
const char *pathname,
+1 -1
View File
@@ -17,7 +17,7 @@
#include <errno.h>
#include <stdlib.h>
#include "libio_.h"
#include <rtems/libio_.h>
int rmdir(
const char *pathname
+1 -1
View File
@@ -36,7 +36,7 @@
#include <fcntl.h>
#include <errno.h>
#include "libio_.h"
#include <rtems/libio_.h>
int _STAT_NAME(
const char *path,
+1 -1
View File
@@ -11,7 +11,7 @@
* $Id$
*/
#include "libio_.h"
#include <rtems/libio_.h>
int symlink(
const char *actualpath,
+1 -1
View File
@@ -21,7 +21,7 @@
/* #include <sys/ioctl.h> */
#include <rtems/libio.h>
#include "libio_.h"
#include <rtems/libio_.h>
int tcsetattr(
int fd,
+1 -1
View File
@@ -17,7 +17,7 @@
#include <unistd.h>
#include <errno.h>
#include "libio_.h"
#include <rtems/libio_.h>
long telldir(
+1 -1
View File
@@ -14,7 +14,7 @@
#include <_syslist.h>
#include <errno.h>
#include "libio_.h"
#include <rtems/libio_.h>
int ttyname_r(
+1 -1
View File
@@ -50,7 +50,7 @@ static char sccsid[] = "@(#)ttyname.c 5.10 (Berkeley) 5/6/91";
#include <_syslist.h>
#include <errno.h>
#include "libio_.h"
#include <rtems/libio_.h>
/*
* ttyname_r() - POSIX 1003.1b 4.7.2 - Demetermine Terminal Device Name
+1 -1
View File
@@ -14,7 +14,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include "libio_.h"
#include <rtems/libio_.h>
mode_t umask(
mode_t cmask
+1 -1
View File
@@ -13,7 +13,7 @@
#include <errno.h>
#include "libio_.h"
#include <rtems/libio_.h>
int unlink(
const char *path
+1 -1
View File
@@ -26,7 +26,7 @@
#include <string.h>
#include <assert.h>
#include "libio_.h"
#include <rtems/libio_.h>
/*
* Data structures and routines private to mount/unmount pair.

Some files were not shown because too many files have changed in this diff Show More