[PATCH] Move sysconf.c to libc/posix

Shaun Jackman sjackman@gmail.com
Fri Jun 2 16:20:00 GMT 2006


Can sysconf move to libc/posix?

Cheers,
Shaun

2006-06-02  Shaun Jackman  <sjackman@gmail.com>

	* libc/posix/sysconf.c: New file.
	* libc/posix/Makefile.am (GENERAL_SOURCES): Add sysconf.c.
	* libc/posix/Makefile.in: Regenerate.
	* libc/sys/linux/sysconf.c: Remove file.
	* libc/sys/linux/Makefile.am (GENERAL_SOURCES): Remove sysconf.c.
	* libc/sys/linux/Makefile.in: Regenerate.

Index: libc/posix/Makefile.am
===================================================================
RCS file: /cvs/src/src/newlib/libc/posix/Makefile.am,v
retrieving revision 1.6
diff -u -r1.6 Makefile.am
--- libc/posix/Makefile.am	1 May 2006 22:01:02 -0000	1.6
+++ libc/posix/Makefile.am	2 Jun 2006 16:01:43 -0000
@@ -7,7 +7,7 @@
 GENERAL_SOURCES = \
 	closedir.c creat.c isatty.c \
 	opendir.c readdir.c \
-	readdir_r.c rewinddir.c telldir.c
+	readdir_r.c rewinddir.c sysconf.c telldir.c

 ELIX_2_SOURCES = \
         scandir.c seekdir.c
Index: libc/sys/linux/Makefile.am
===================================================================
RCS file: /cvs/src/src/newlib/libc/sys/linux/Makefile.am,v
retrieving revision 1.46
diff -u -r1.46 Makefile.am
--- libc/sys/linux/Makefile.am	1 May 2006 22:01:03 -0000	1.46
+++ libc/sys/linux/Makefile.am	2 Jun 2006 16:01:43 -0000
@@ -96,7 +96,6 @@
 	sleep.c \
 	strsignal.c \
 	strverscmp.c \
-	sysconf.c \
 	sysctl.c \
 	systat.c \
 	tcdrain.c \



More information about the Newlib mailing list