Changeset b7d32736 in rtems


Ignore:
Timestamp:
Oct 13, 2014, 7:24:31 PM (5 years ago)
Author:
Gedare Bloom <gedare@…>
Branches:
4.11, master
Children:
fcc1d157
Parents:
a0f27360
Message:

sparc64: make local functions static in conscfg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc64/shared/console/conscfg.c

    ra0f27360 rb7d32736  
    1313#include <boot/ofw.h>
    1414
    15 int sun4v_console_device_first_open(int major, int minor, void *arg)
     15static int sun4v_console_device_first_open(int major, int minor, void *arg)
    1616{
    1717  return 0;
     
    2424}
    2525
    26 void sun4v_console_deviceInitialize (int minor)
     26static void sun4v_console_deviceInitialize (int minor)
    2727{
    2828 
    2929}
    3030
    31 int sun4v_console_poll_read(int minor){
     31static int sun4v_console_poll_read(int minor){
    3232  int a;
    3333  ofw_read(&a,1);
    34   if(a!=0){
     34  if ( a != 0 ) {
    3535    return a>>24;
    3636  }
     
    3838}
    3939
    40 bool sun4v_console_deviceProbe (int minor){
     40static bool sun4v_console_deviceProbe (int minor){
    4141  return true;
    4242}
Note: See TracChangeset for help on using the changeset viewer.