Changeset b5cc059 in rtems for cpukit/pppd


Ignore:
Timestamp:
Aug 3, 2008, 4:27:50 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
eb0e15a
Parents:
ba3f7a80
Message:

Add prototypes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/pppd/rtemsmain.c

    rba3f7a80 rb5cc059  
    558558 */
    559559const char *
    560 protocol_name(proto)
    561     int proto;
     560protocol_name(
     561    int proto)
    562562{
    563563    struct protocol_list *lp;
     
    658658 */
    659659void
    660 new_phase(p)
    661     int p;
     660new_phase(
     661    int p)
    662662{
    663663    pppd_phase = p;
     
    670670 */
    671671void
    672 die(status)
    673     int status;
     672die(
     673    int status)
    674674{
    675675    cleanup();
     
    681681/* ARGSUSED */
    682682static void
    683 cleanup()
     683cleanup(void)
    684684{
    685685    sys_cleanup();
     
    697697 */
    698698static void
    699 close_tty()
     699close_tty(void)
    700700{
    701701    /* drop dtr to hang up */
     
    719719 */
    720720void
    721 update_link_stats(u)
    722     int u;
     721update_link_stats(
     722    int u)
    723723{
    724724    struct timeval now;
     
    753753 */
    754754void
    755 ppptimeout(func, arg, time)
    756     void (*func)(void *);
    757     void *arg;
    758     int time;
     755ppptimeout(
     756    void (*func)(void *),
     757    void *arg,
     758    int time)
    759759{
    760760    struct callout *newp, *p, **pp;
     
    790790 */
    791791void
    792 pppuntimeout(func, arg)
    793     void (*func)(void *);
    794     void *arg;
     792pppuntimeout(
     793    void (*func)(void *),
     794    void *arg)
    795795{
    796796    struct callout **copp, *freep;
     
    814814 */
    815815static void
    816 calltimeout()
     816calltimeout(void)
    817817{
    818818    struct callout *p;
     
    840840 */
    841841static struct timeval *
    842 timeleft(tvp)
    843     struct timeval *tvp;
     842timeleft(
     843    struct timeval *tvp)
    844844{
    845845    if (callout == NULL)
     
    890890 */
    891891void
    892 novm(msg)
    893     char *msg;
     892novm(
     893    char *msg)
    894894{
    895895    fatal("Virtual memory exhausted allocating %s\n", msg);
Note: See TracChangeset for help on using the changeset viewer.