Commit Graph

57 Commits

Author SHA1 Message Date
Nick Withers
4202a31f91 Chase Newlib sys/types.h / sys/select.h changes 2016-01-18 14:59:52 +01:00
Christian Mauderer
8e133b2500 librpc: Use POSIX key instead of task variables 2014-03-24 08:31:48 +01:00
Sebastian Huber
8250503f21 librpc: PR2066: Fix for short enums
The XDR library has a problem on architectures with short enums like the
default ARM EABI.  Short enums means that the size of the enum type is
variable and the smallest integer type to hold all enum values will be
selected.  For many enums this is char.  The XDR library uses int32_t
for enum_t.  There are several evil casts from an enum type to enum_t
which leads to invalid memory accesses on short enum architectures.  A
workaround is to add appropriate dummy enum values.
2012-06-06 13:57:43 +02:00
Joel Sherrill
65c6425de9 Remove CVS Id Strings (manual edits after script)
These modifications were required by hand after running the script.
In some cases, the file names did not match patterns. In others,
the format of the file did not match any common patterns.
2012-05-11 08:44:14 -05:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines
  next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
  contain CVS Ids
+ If the processing left a blank line at the top of
  a file, it was removed.
2012-05-11 08:44:13 -05:00
Ralf Corsepius
bc38915f90 Make self-contained. 2011-05-05 12:30:09 +00:00
Ralf Corsepius
ee613aa252 Include <sys/cdefs.h> (Eliminate rtems/bsd/sys/cdefs.h). 2011-03-24 09:36:14 +00:00
Ralf Corsepius
1f5986bf65 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/include/rpc/clnt.h, librpc/include/rpc/rpc_msg.h,
	librpc/src/rpc/clnt_generic.c, librpc/src/rpc/clnt_raw.c,
	librpc/src/rpc/clnt_tcp.c, librpc/src/rpc/clnt_udp.c,
	librpc/src/rpc/pmap_clnt.c, librpc/src/rpc/pmap_getmaps.c
	librpc/src/rpc/pmap_getport.c:
	Partial merger from freebsd (portability fixes).
2010-05-27 07:36:24 +00:00
Ralf Corsepius
e018fe01ec 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* librpc/include/rpc/xdr.h: Cosmetics from freebsd.
2010-05-27 04:09:05 +00:00
Ralf Corsepius
1cb54d1f38 #include <stdint.h> instead of <rtems/stdint.h>. 2008-12-11 00:47:56 +00:00
Ralf Corsepius
de2e5f684c #include <rpc/types.h>. 2008-12-08 04:41:26 +00:00
Ralf Corsepius
8a9c242dde #include <rtems/bsd/sys/cdefs.h>. 2008-12-08 04:41:09 +00:00
Ralf Corsepius
0eeca97769 Cleanup. 2008-08-01 16:57:19 +00:00
Ralf Corsepius
22dd335a4d Fix oversight in previous patch. 2008-08-01 05:40:53 +00:00
Ralf Corsepius
9f4040a13b Eliminate __P(). 2008-08-01 05:40:52 +00:00
Chris Johns
5fd92cccfd 2008-03-29 Chris Johns <chrisj@rtems.org>
* librpc/include/rpc/clnt.h: Added the missing __BEGIN_DECLS as
	reported to the mailing list by Pierre Kestener
	(pierre.kestener@cea.fr).
2008-03-29 05:08:24 +00:00
Ralf Corsepius
30be282675 Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>. 2007-05-10 07:38:27 +00:00
Ralf Corsepius
cd9564e1cd Include <rtems/bsd/sys/cdefs.h> instead of <sys/cdefs.h>. 2007-05-10 07:29:14 +00:00
Joel Sherrill
9d16b9c3f0 2005-05-26 Joel Sherrill <joel@OARcorp.com>
* libnetworking/lib/ftpfs.c, librpc/include/rpc/svc.h,
	librpc/src/rpc/get_myaddress.c, librpc/src/rpc/pmap_getmaps.c,
	librpc/src/rpc/pmap_getport.c: Remove warnings.
2005-05-27 00:37:13 +00:00
Ralf Corsepius
9dcab59b1a Use void* instead of caddr_t. Cosmetics from FreeBSD. 2005-05-25 17:17:14 +00:00
Ralf Corsepius
18b1aa4a95 Reflect removing auth_des.h. 2005-05-25 15:23:22 +00:00
Ralf Corsepius
342fa58ae4 Remove (Unused, unsupported). 2005-05-25 15:22:45 +00:00
Ralf Corsepius
12db3bda88 Misc. fixes. 2005-05-25 15:07:19 +00:00
Ralf Corsepius
c11cb9a5a9 More updates from FreeBSD. 2005-05-25 13:56:50 +00:00
Ralf Corsepius
fd6a994ee7 More updates from FreeBSD. 2005-05-25 13:02:40 +00:00
Ralf Corsepius
b3da5b17a1 2005-05-25 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/svc.h: Partial update from FreeBSD.
2005-05-25 12:25:50 +00:00
Ralf Corsepius
50e3b3f065 2005-05-25 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/clnt.h: Partial update from FreeBSD.
2005-05-25 11:33:47 +00:00
Ralf Corsepius
a8ad6a001f New. 2005-05-25 10:05:42 +00:00
Ralf Corsepius
9d770ab58c Remove (Unused, unsupported) 2005-05-25 09:48:27 +00:00
Ralf Corsepius
8ba22b546d Remove (Unused, unsupported). 2005-05-25 09:40:15 +00:00
Ralf Corsepius
94c76bc730 Cosmetical update from FreeBSD. 2005-05-10 08:56:01 +00:00
Ralf Corsepius
2538e7ae0d 2005-02-03 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/clnt_stat.h, librpc/include/rpc/rpcent.h:
	New (From FreeBSD).
	* librpc/include/rpc/rpc.h: Partial update from FreeBSD.
	* librpc/Makefile.am: Reflect changes above.
2005-02-03 16:26:35 +00:00
Ralf Corsepius
0c20a46dc0 2005-02-03 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/types.h: Partial update from FreeBSD.
	Use stdint.h types instead of sys/types.h.
	* librpc/src/rpc/bindresvport.c: Partial update from FreeBSD.
2005-02-03 15:58:18 +00:00
Joel Sherrill
77b6a10913 2005-01-09 Joel Sherrill <joel@oarcorp.com>
* librpc/include/rpc/clnt.h, librpc/src/rpc/authunix_prot.c,
	librpc/src/rpc/clnt_tcp.c, librpc/src/rpc/pmap_prot2.c,
	librpc/src/rpc/pmap_rmt.c, librpc/src/rpc/rtems_portmapper.c,
	librpc/src/rpc/svc_simple.c: Fix warnings.
2005-01-09 17:12:03 +00:00
Ralf Corsepius
dab2d6ebae 2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/auth_des.h, librpc/include/rpc/xdr.h,
	librpc/src/rpc/auth_des.c, librpc/src/rpc/auth_unix.c,
	librpc/src/rpc/rpc_prot.c, librpc/src/xdr/xdr.c:
	Misc. ansi-fications, misc. updates from FreeBSD.
2005-01-08 06:01:35 +00:00
Ralf Corsepius
c9165ef085 2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/xdr.h: Remove questionable comments.
	* librpc/include/rpc/auth.h: Remove __P, ansi-fy.
	* librpc/src/rpc/auth_none.c: Reflect changes above.
	Partial update from FreeBSD.
2005-01-07 11:22:50 +00:00
Ralf Corsepius
8faf4bd531 2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/svc.h, librpc/include/rpc/xdr.h:
	Remove __P(xx).
2005-01-07 07:46:15 +00:00
Ralf Corsepius
5220ae2f71 2004-11-21 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/types.h: Include <rtems/stdint.h>.
	* librpc/src/rpc/clnt_raw.c, librpc/src/rpc/rpcdname.c,
	librpc/src/rpc/rtems_portmapper.c, librpc/src/rpc/svc.c,
	librpc/src/rpc/svc_simple.c: Misc. cast-related fixes.
	Convert to ANSI.
2004-11-21 05:33:00 +00:00
Ralf Corsepius
ddb56f497d 2004-11-21 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/rpc.h (struct _rtems_rpc_task_variables):
	Use pointers to types instead of void* to avoid casts.
	* librpc/src/rpc/clnt_perror.c, librpc/src/rpc/clnt_raw.c,
	librpc/src/rpc/clnt_simple.c, librpc/src/rpc/rpcdname.c,
	librpc/src/rpc/svc.c, librpc/src/rpc/svc_auth.c,
	librpc/src/rpc/svc_simple.c:
	Eliminate lvalue casts gcc-3.4 warns about.
2004-11-21 04:45:39 +00:00
Ralf Corsepius
9929e2d231 2004-10-29 Ralf Corsepius <ralf_corsepius@rtems.org>
* score/src/coremsg.c: Eliminate unsigned32.
	* score/include/rtems/system.h: Set __RTEMS_REVISION__ to 99.
	* librpc/include/rpc/xdr.h: Use elipsis in xdrproc_t prototype.
2004-10-29 10:38:40 +00:00
Eric Norum
4db99d8aa1 No kernel/user distinction. 2004-10-25 19:22:07 +00:00
Ralf Corsepius
2609e83f77 Unused. 2004-03-08 16:26:41 +00:00
Ralf Corsepius
d16b2d3548 2003-11-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rpc/rpc.hinclude/rpc/rpc.h: Rename struct
	rtems_rpc_task_variables into struct _rtems_rpc_task_variables
	(Avoid symbol conflict between struct and variable).
	struct _rtems_rpc_task_variables *rtems_rpc_task_variables;
	Reflect changes above.
	* src/rpc/clnt_perror.c, src/rpc/clnt_raw.c, src/rpc/clnt_simple.c,
	src/rpc/rpcdname.c, src/rpc/rtems_rpc.c, src/rpc/svc.c,
	src/rpc/svc_auth.c, src/rpc/svc_raw.c, src/rpc/svc_simple.c:
	Reflect changes above.
2003-11-27 09:35:40 +00:00
Ralf Corsepius
6deb2f18ab 2002-07-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/rpc/Makefile.am: Merge src/rpc/PSD.doc/Makefile.am.
	* include/Makefile.am: Merge include/rpc/Makefile.am.
	Merge include/rpcsvc/Makefile.am.
	* include/rpc/Makefile.am: Remove.
	* include/rpcsvc/Makefile.am: Remove.
	* src/rpc/PSD.doc/Makefile.am: Remove.
	* configure.ac: Remove duplicate AC_PROG_RANLIB.
	Remove include/rpc/Makefile.
	Remove include/rpcsvc/Makefile.
	Remove src/rpc/PSD.doc/Makefile.
2002-07-30 09:12:33 +00:00
Ralf Corsepius
abc116768a 2002-06-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: RTEMS_TOP(../../../..).
	AC_CONFIG_AUX_DIR(../../../..).
	Remove RTEMS_CANONICAL_HOST.
	Use RTEMS_ENV_RTEMSCPU.
	Add AC_PROG_RANLIB.
	* include/rpc/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* include/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* include/rpcsvc/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* Makefile.am: Include $(top_srcdir)/../automake/*.am.
	ACLOCAL_AMFLAGS = -I ../aclocal.
	* src/rpc/PSD.doc/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* src/rpc/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* src/xdr/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* src/Makefile.am: Include $(top_srcdir)/../automake/*.am.
2002-06-25 17:41:49 +00:00
Joel Sherrill
00a9ac1d59 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* include/rpc/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* include/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* include/rpcsvc/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* src/rpc/PSD.doc/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* src/rpc/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* src/xdr/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* src/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:49:50 +00:00
Joel Sherrill
e747aaf843 2001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rpc/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-28 13:34:27 +00:00
Joel Sherrill
8887f8cd6d 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rpc/Makefile.am: Apply include_*HEADERS instead of
	H_FILES.
2001-02-05 18:38:44 +00:00
Joel Sherrill
09a6eba19d Corrected prototype for xdrrec_endofrecord to match C body. 2000-06-29 22:34:30 +00:00
Joel Sherrill
df49c60c96 Merged from 4.5.0-beta3a 2000-06-12 15:00:15 +00:00