sparc: Do not export prom_nb{get,put}char().
Never used outside of console_{32,64}.c Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -104,12 +104,6 @@ extern int prom_getprev(void);
|
|||||||
|
|
||||||
/* Character operations to/from the console.... */
|
/* Character operations to/from the console.... */
|
||||||
|
|
||||||
/* Non-blocking get character from console. */
|
|
||||||
extern int prom_nbgetchar(void);
|
|
||||||
|
|
||||||
/* Non-blocking put character to console. */
|
|
||||||
extern int prom_nbputchar(char character);
|
|
||||||
|
|
||||||
/* Blocking get character from console. */
|
/* Blocking get character from console. */
|
||||||
extern char prom_getchar(void);
|
extern char prom_getchar(void);
|
||||||
|
|
||||||
|
@@ -96,12 +96,6 @@ extern unsigned char prom_get_idprom(char *idp_buffer, int idpbuf_size);
|
|||||||
|
|
||||||
/* Character operations to/from the console.... */
|
/* Character operations to/from the console.... */
|
||||||
|
|
||||||
/* Non-blocking get character from console. */
|
|
||||||
extern int prom_nbgetchar(void);
|
|
||||||
|
|
||||||
/* Non-blocking put character to console. */
|
|
||||||
extern int prom_nbputchar(char character);
|
|
||||||
|
|
||||||
/* Blocking get character from console. */
|
/* Blocking get character from console. */
|
||||||
extern char prom_getchar(void);
|
extern char prom_getchar(void);
|
||||||
|
|
||||||
|
@@ -19,8 +19,7 @@ extern void restore_current(void);
|
|||||||
/* Non blocking get character from console input device, returns -1
|
/* Non blocking get character from console input device, returns -1
|
||||||
* if no input was taken. This can be used for polling.
|
* if no input was taken. This can be used for polling.
|
||||||
*/
|
*/
|
||||||
int
|
static int prom_nbgetchar(void)
|
||||||
prom_nbgetchar(void)
|
|
||||||
{
|
{
|
||||||
static char inc;
|
static char inc;
|
||||||
int i = -1;
|
int i = -1;
|
||||||
@@ -51,8 +50,7 @@ prom_nbgetchar(void)
|
|||||||
/* Non blocking put character to console device, returns -1 if
|
/* Non blocking put character to console device, returns -1 if
|
||||||
* unsuccessful.
|
* unsuccessful.
|
||||||
*/
|
*/
|
||||||
int
|
static int prom_nbputchar(char c)
|
||||||
prom_nbputchar(char c)
|
|
||||||
{
|
{
|
||||||
static char outc;
|
static char outc;
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
|
@@ -18,8 +18,7 @@ extern int prom_stdin, prom_stdout;
|
|||||||
/* Non blocking get character from console input device, returns -1
|
/* Non blocking get character from console input device, returns -1
|
||||||
* if no input was taken. This can be used for polling.
|
* if no input was taken. This can be used for polling.
|
||||||
*/
|
*/
|
||||||
inline int
|
static int prom_nbgetchar(void)
|
||||||
prom_nbgetchar(void)
|
|
||||||
{
|
{
|
||||||
unsigned long args[7];
|
unsigned long args[7];
|
||||||
char inc;
|
char inc;
|
||||||
@@ -42,8 +41,7 @@ prom_nbgetchar(void)
|
|||||||
/* Non blocking put character to console device, returns -1 if
|
/* Non blocking put character to console device, returns -1 if
|
||||||
* unsuccessful.
|
* unsuccessful.
|
||||||
*/
|
*/
|
||||||
inline int
|
static int prom_nbputchar(char c)
|
||||||
prom_nbputchar(char c)
|
|
||||||
{
|
{
|
||||||
unsigned long args[7];
|
unsigned long args[7];
|
||||||
char outc;
|
char outc;
|
||||||
|
Reference in New Issue
Block a user