Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
@@ -42,14 +42,6 @@
#define _RPC_AUTH_H 1
#ifdef _LIBC
-/* Some adjustments to make the libc source from glibc
- * compile more easily with uClibc... */
-#ifndef __FORCE_GLIBC
-#define __FORCE_GLIBC
-#endif
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE
#define _(X) X
#endif
#include <features.h>
@@ -39,14 +39,6 @@
#define _RPC_RPC_H 1
@@ -34,14 +34,6 @@
#define _RPC_TYPES_H 1
@@ -37,11 +37,6 @@
#define _RPC_XDR_H 1
-# ifndef __FORCE_GLIBC
-# define __FORCE_GLIBC
-# endif
# define _(X) X
@@ -17,8 +17,6 @@
* Changed to use _int10tostr.
*/
-#include <features.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
@@ -23,8 +23,6 @@
* - initial uClibc port
#include <stdlib.h>
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
#include <netdb.h>
@@ -51,8 +51,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
If these license terms cause you a real problem, contact the author. */
#include <assert.h>
#include <errno.h>
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
@@ -5,8 +5,6 @@
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#include <unistd.h>
#include <sys/types.h>
@@ -20,8 +20,6 @@
Reworked Dec 2002 by Erik Andersen <andersen@codepoet.org>
#include <alloca.h>
#include <netinet/in.h>
#ifdef __UCLIBC_HAS_IPV6__
@@ -32,8 +32,6 @@
* SUCH DAMAGE.
#include <arpa/inet.h>
@@ -15,8 +15,6 @@
* SOFTWARE.
#include <sys/param.h>
#include <sys/socket.h>
@@ -293,8 +293,6 @@ Domain name in a message can be represented as either:
- a sequence of labels ending with a pointer
#include <stdio_ext.h>
@@ -35,8 +35,6 @@
* credentials and verifiers to remote systems.
#include "rpc_private.h"
@@ -38,9 +38,6 @@
* for the credentials.
-
#include <limits.h>
@@ -30,9 +30,6 @@
* Copyright (c) 1987 by Sun Microsystems, Inc.
* Copyright (C) 1987, Sun Microsystems, Inc.
@@ -38,9 +38,6 @@ static char sccsid[] = "@(#)clnt_perror.c 1.15 87/10/07 Copyr 1984 Sun Micro";
*
@@ -42,7 +42,6 @@ static char sccsid[] = "@(#)clnt_raw.c 1.22 87/08/11 Copyr 1984 Sun Micro";
* any interference from the kernel.
#include <rpc/svc.h>
@@ -38,9 +38,6 @@ static char sccsid[] = "@(#)clnt_simple.c 1.35 87/08/11 Copyr 1984 Sun Micro";
* Copyright (C) 1984, Sun Microsystems, Inc.
@@ -50,9 +50,6 @@ static char sccsid[] = "@(#)clnt_tcp.c 1.37 87/10/05 Copyr 1984 Sun Micro";
* Now go hang yourself.
@@ -37,9 +37,6 @@ static char sccsid[] = "@(#)clnt_udp.c 1.39 87/08/11 Copyr 1984 Sun Micro";
#include <rpc/rpc.h>
@@ -46,9 +46,6 @@
@@ -17,9 +17,6 @@
#include <sys/time.h>
@@ -33,8 +33,6 @@
* Copyright (c) 1985 by Sun Microsystems, Inc.
@@ -35,9 +35,6 @@ static char sccsid[] = "@(#)getrpcport.c 1.3 87/08/11 SMI";
@@ -34,9 +34,6 @@
* Client interface to pmap rpc service.
#include <net/if.h>
@@ -39,9 +39,6 @@ static char sccsid[] = "@(#)pmap_rmt.c 1.21 87/08/27 Copyr 1984 Sun Micro";
@@ -27,8 +27,6 @@
@@ -38,9 +38,6 @@ static char sccsid[] = "@(#)rpc_callmsg.c 1.4 87/08/11 Copyr 1984 Sun Micro";
@@ -31,10 +31,6 @@
static char sccsid[] = "@(#)rpc_dtablesize.c 1.2 87/08/11 Copyr 1987 Sun Micro";
-#define __USE_BSD
#include <rpc/clnt.h>
@@ -44,9 +44,6 @@ static char sccsid[] = "@(#)rpc_prot.c 1.36 87/08/11 Copyr 1984 Sun Micro";
* routines are also in this program.
@@ -4,8 +4,6 @@
@@ -43,9 +43,6 @@ static char sccsid[] = "@(#)rtime.c 2.2 88/08/10 4.0 RPCSRC; from 1.8 88/02/08 S
* what unix uses.
#include <sys/stat.h>
@@ -16,8 +16,6 @@
#include <netipx/ipx.h>
@@ -36,9 +36,6 @@
@@ -40,8 +40,6 @@ static char sccsid[] = "@(#)svc_raw.c 1.15 87/08/11 Copyr 1984 Sun Micro";
@@ -31,9 +31,6 @@
* Wait for input, call server program.
#include <sys/poll.h>
@@ -38,9 +38,6 @@ static char sccsid[] = "@(#)svc_simple.c 1.18 87/08/11 Copyr 1984 Sun Micro";
@@ -41,9 +41,6 @@ static char sccsid[] = "@(#)svc_tcp.c 1.21 87/08/11 Copyr 1984 Sun Micro";
* and a record/tcp stream.
@@ -39,9 +39,6 @@ static char sccsid[] = "@(#)svc_udp.c 1.24 87/08/11 Copyr 1984 Sun Micro";
@@ -37,9 +37,6 @@
* and a record/unix stream.
@@ -41,9 +41,6 @@ static char sccsid[] = "@(#)xdr.c 1.35 87/08/12";
* xdr.
@@ -40,9 +40,6 @@ static char sccsid[] = "@(#)xdr_array.c 1.10 87/08/11 Copyr 1984 Sun Micro";
* arrays. See xdr.h for more info on the interface to xdr.
#include <rpc/types.h>
@@ -41,9 +41,6 @@ static char sccsid[] = "@(#)xdr_float.c 1.12 87/08/11 Copyr 1984 Sun Micro";
#include <endian.h>
@@ -44,10 +44,6 @@
* The other 31 bits encode the byte length of the fragment.
@@ -40,9 +40,6 @@ static char sccsid[] = "@(#)xdr_reference.c 1.11 87/08/11 SMI";
* "pointers". See xdr.h for more info on the interface to xdr.
#include <syscall.h>
@@ -58,8 +58,6 @@
* - Major code cleanup.
#include <sys/file.h>
@@ -17,7 +17,6 @@
/* Prevent math.h from defining a colliding inline */
#undef __USE_EXTERN_INLINES
@@ -5,7 +5,6 @@
#include <crypt.h>
#include "libcrypt.h"
@@ -56,7 +56,6 @@
* alignment).
#include <sys/cdefs.h>
@@ -14,8 +14,6 @@
/* Thread cancellation */
#include "pthread.h"
#include "internals.h"
/* Define the location of errno for the remainder of the C library */
/* Thread creation, initialization, and basic low-level routines */
#include <netdb.h> /* for h_errno */
#include <stddef.h>
/* Internal locks */
#include <sched.h>
#include <time.h>
@@ -18,8 +18,6 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
#include <fcntl.h>
#include <sys/mman.h>
#include <pthread.h>
@@ -2,8 +2,6 @@
#ifndef _THREAD_DBP_H
#define _THREAD_DBP_H 1
#include "proc_service.h"