Changeset 37e8259 in rtems for c/src/libchip/serial/mc68681_p.h


Ignore:
Timestamp:
Jul 9, 1998, 6:40:27 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
d94d47b3
Parents:
8b2492f
Message:

Changed static to MC68681_STATIC to make all routines and data global
to ease debugging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/serial/mc68681_p.h

    r8b2492f r37e8259  
    1818extern "C" {
    1919#endif
     20
     21/*
     22 *  Define MC68681_STATIC to nothing while debugging so the entry points
     23 *  will show up in the symbol table.
     24 */
     25
     26#define MC68681_STATIC
     27
     28/* #define MC68681_STATIC static */
    2029
    2130/*
     
    235244 * Driver functions
    236245 */
    237 static boolean mc68681_probe(int minor);
    238 
    239 static int mc68681_set_attributes(
     246MC68681_STATIC boolean mc68681_probe(int minor);
     247
     248MC68681_STATIC int mc68681_set_attributes(
    240249  int minor,
    241250  const struct termios *t
    242251);
    243252
    244 static void mc68681_init(int minor);
    245 
    246 static int mc68681_open(
     253MC68681_STATIC void mc68681_init(int minor);
     254
     255MC68681_STATIC int mc68681_open(
    247256  int major,
    248257  int minor,
     
    250259);
    251260
    252 static int mc68681_close(
     261MC68681_STATIC int mc68681_close(
    253262  int major,
    254263  int minor,
     
    256265);
    257266
    258 static void mc68681_write_polled(
     267MC68681_STATIC void mc68681_write_polled(
    259268  int   minor,
    260269  char  cChar
    261270);
    262271
    263 static void mc68681_initialize_interrupts(int minor);
    264 
    265 static int mc68681_flush(int major, int minor, void *arg);
    266 
    267 static int mc68681_write_support_int(
     272MC68681_STATIC void mc68681_initialize_interrupts(int minor);
     273
     274MC68681_STATIC int mc68681_flush(int major, int minor, void *arg);
     275
     276MC68681_STATIC int mc68681_write_support_int(
    268277  int   minor,
    269278  const char *buf,
     
    271280);
    272281
    273 static int mc68681_write_support_polled(
     282MC68681_STATIC int mc68681_write_support_polled(
    274283  int   minor,
    275284  const char *buf,
     
    277286  );
    278287
    279 static int mc68681_inbyte_nonblocking_polled(
     288MC68681_STATIC int mc68681_inbyte_nonblocking_polled(
    280289  int minor
    281290);
Note: See TracChangeset for help on using the changeset viewer.