Changeset b5831567 in rtems for cpukit/librpc


Ignore:
Timestamp:
Aug 1, 2008, 3:58:16 PM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
4e496923
Parents:
bf5a6be
Message:

Misc. ansifications.

Location:
cpukit/librpc/src/rpc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/librpc/src/rpc/clnt_perror.c

    rbf5a6be rb5831567  
    4848#include <rpc/clnt.h>
    4949
    50 static char *auth_errmsg();
     50static char *auth_errmsg(enum auth_stat stat);
    5151#define CLNT_PERROR_BUFLEN 256
    5252
     
    5454
    5555static char *
    56 _buf()
     56_buf(void)
    5757{
    5858
     
    6666 */
    6767char *
    68 clnt_sperror(rpch, s)
    69         CLIENT *rpch;
    70         const char *s;
     68clnt_sperror(
     69        CLIENT *rpch,
     70        const char *s)
    7171{
    7272        struct rpc_err e;
     
    141141
    142142void
    143 clnt_perror(rpch, s)
    144         CLIENT *rpch;
    145         const char *s;
     143clnt_perror(
     144        CLIENT *rpch,
     145        const char *s)
    146146{
    147147        (void) fprintf(stderr,"%s\n",clnt_sperror(rpch,s));
     
    175175 */
    176176char *
    177 clnt_sperrno(stat)
    178         enum clnt_stat stat;
     177clnt_sperrno(
     178        enum clnt_stat stat)
    179179{
    180180        unsigned int errnum = stat;
     
    187187
    188188void
    189 clnt_perrno(num)
    190         enum clnt_stat num;
     189clnt_perrno(
     190        enum clnt_stat num)
    191191{
    192192        (void) fprintf(stderr,"%s\n",clnt_sperrno(num));
     
    195195
    196196char *
    197 clnt_spcreateerror(s)
    198         const char *s;
     197clnt_spcreateerror(
     198        const char *s)
    199199{
    200200        char *str = _buf();
     
    225225
    226226void
    227 clnt_pcreateerror(s)
    228         const char *s;
     227clnt_pcreateerror(
     228        const char *s)
    229229{
    230230        (void) fprintf(stderr,"%s\n",clnt_spcreateerror(s));
     
    243243
    244244static char *
    245 auth_errmsg(stat)
    246         enum auth_stat stat;
     245auth_errmsg(
     246        enum auth_stat stat)
    247247{
    248248        unsigned int errnum = stat;
  • cpukit/librpc/src/rpc/get_myaddress.c

    rbf5a6be rb5831567  
    6060 */
    6161int
    62 get_myaddress(addr)
    63         struct sockaddr_in *addr;
     62get_myaddress(
     63        struct sockaddr_in *addr)
    6464{
    6565        int s;
  • cpukit/librpc/src/rpc/svc_auth_unix.c

    rbf5a6be rb5831567  
    5353 */
    5454enum auth_stat
    55 _svcauth_unix(rqst, msg)
    56         register struct svc_req *rqst;
    57         register struct rpc_msg *msg;
     55_svcauth_unix(
     56        struct svc_req *rqst,
     57        struct rpc_msg *msg )
    5858{
    5959        register enum auth_stat stat;
     
    141141/*ARGSUSED*/
    142142enum auth_stat
    143 _svcauth_short(rqst, msg)
    144         struct svc_req *rqst;
    145         struct rpc_msg *msg;
     143_svcauth_short(
     144        struct svc_req *rqst,
     145        struct rpc_msg *msg )
    146146{
    147147        return (AUTH_REJECTEDCRED);
Note: See TracChangeset for help on using the changeset viewer.