Changeset ee0c82f in rtems


Ignore:
Timestamp:
Aug 2, 2008, 5:16:26 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
a39e2ee
Parents:
f62e195
Message:

Add missing prototypes.

Location:
cpukit
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libi2c/libi2c.c

    rf62e195 ree0c82f  
    349349
    350350int
    351 rtems_libi2c_initialize ()
     351rtems_libi2c_initialize (void)
    352352{
    353353  rtems_status_code sc;
  • cpukit/libi2c/libi2c.h

    rf62e195 ree0c82f  
    5959
    6060/* Initialize the libary - may fail if no semaphore or no driver slot is available */
    61 int rtems_libi2c_initialize ();
     61int rtems_libi2c_initialize (void);
    6262
    6363/* Alternatively to rtems_libi2c_initialize() the library can also be
  • cpukit/libmd/md4.c

    rf62e195 ree0c82f  
    122122*/
    123123static void
    124 MDblock(MDp,Xb)
    125 MD4_CTX *MDp;
    126 unsigned char *Xb;
     124MDblock(
     125  MD4_CTX *MDp,
     126  unsigned char *Xb)
    127127{
    128128  register uint32_t tmp, A, B, C, D;
     
    209209*/
    210210void
    211 MD4Update(MDp,X,count)
    212 MD4_CTX *MDp;
    213 unsigned char *X;
    214 unsigned int count;
     211MD4Update(
     212  MD4_CTX *MDp,
     213  unsigned char *X,
     214  unsigned int count )
    215215{
    216216  unsigned int i, tmp, bit, byte, mask;
     
    279279*/
    280280void
    281 MD4Final(buf, MD)
    282 unsigned char *buf;
    283 MD4_CTX *MD;
     281MD4Final(
     282  unsigned char *buf,
     283  MD4_CTX *MD)
    284284{
    285285  int i, j;
  • cpukit/libmd/md5.c

    rf62e195 ree0c82f  
    5050
    5151/* forward declaration */
    52 static void Transform ();
     52static void Transform (UINT4 *buf, UINT4 *in);
    5353
    5454static unsigned char PADDING[64] = {
     
    202202/* Basic MD5 step. Transforms buf based on in.
    203203 */
    204 static void Transform (buf, in)
    205 UINT4 *buf;
    206 UINT4 *in;
     204static void Transform (
     205  UINT4 *buf,
     206  UINT4 *in )
    207207{
    208208  UINT4 a = buf[0], b = buf[1], c = buf[2], d = buf[3];
  • cpukit/libmisc/monitor/mon-command.c

    rf62e195 ree0c82f  
    156156
    157157/*
    158  * Perform a basic tranlation for some ANSI/VT100 key codes.
     158 * Perform a basic translation for some ANSI/VT100 key codes.
    159159 * This code could do with a timeout on the ESC as it is
    160160 * now lost from the input stream. It is not* used by the
     
    164164#ifndef RTEMS_UNIX
    165165static unsigned int
    166 rtems_monitor_getchar (
    167 )
     166rtems_monitor_getchar (void)
    168167{
    169168  struct translation_table *translation = 0;
  • cpukit/libmisc/shell/filemode.c

    rf62e195 ree0c82f  
    3939
    4040void
    41 strmode(mode, p)
    42         mode_t mode;
    43         char *p;
     41strmode(
     42        mode_t mode,
     43        char *p)
    4444{
    4545         /* print type */
  • cpukit/libmisc/shell/shell_script.c

    rf62e195 ree0c82f  
    3232#include "internal.h"
    3333
    34 static void rtems_shell_joel_usage()
     34static void rtems_shell_joel_usage(void)
    3535{
    3636  printf(
Note: See TracChangeset for help on using the changeset viewer.