Changeset 7a03ac29 in rtems


Ignore:
Timestamp:
Feb 6, 2015, 8:59:13 AM (5 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
f37a3c2
Parents:
d77b16d
git-author:
Daniel Hellstrom <daniel@…> (02/06/15 08:59:13)
git-committer:
Daniel Hellstrom <daniel@…> (04/16/15 23:10:22)
Message:

APBUART_CONS: fix build warning

Location:
c/src/lib/libbsp/sparc
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/Makefile.am

    rd77b16d r7a03ac29  
    7878EXTRA_DIST += shared/uart/apbuart_cons.c
    7979EXTRA_DIST += shared/include/cons.h
     80EXTRA_DIST += shared/include/apbuart_cons.h
    8081EXTRA_DIST += shared/uart/apbuart.c
    8182EXTRA_DIST += shared/include/apbuart.h
  • c/src/lib/libbsp/sparc/leon3/Makefile.am

    rd77b16d r7a03ac29  
    8585libbsp_a_SOURCES += ../../sparc/shared/uart/apbuart_cons.c
    8686include_HEADERS += ../../sparc/shared/include/cons.h
     87include_HEADERS += ../../sparc/shared/include/apbuart_cons.h
    8788# debugio
    8889libbsp_a_SOURCES += console/printk_support.c
  • c/src/lib/libbsp/sparc/leon3/preinstall.am

    rd77b16d r7a03ac29  
    117117        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/cons.h
    118118PREINSTALL_FILES += $(PROJECT_INCLUDE)/cons.h
     119
     120$(PROJECT_INCLUDE)/apbuart_cons.h: ../../sparc/shared/include/apbuart_cons.h $(PROJECT_INCLUDE)/$(dirstamp)
     121        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/apbuart_cons.h
     122PREINSTALL_FILES += $(PROJECT_INCLUDE)/apbuart_cons.h
    119123
    120124$(PROJECT_INCLUDE)/genirq.h: ../../sparc/shared/include/genirq.h $(PROJECT_INCLUDE)/$(dirstamp)
  • c/src/lib/libbsp/sparc/shared/uart/apbuart_cons.c

    rd77b16d r7a03ac29  
    3333#include <cons.h>
    3434#include <rtems/termiostypes.h>
     35#include <apbuart_cons.h>
    3536
    3637/*#define DEBUG 1  */
     
    451452        unsigned int baud;
    452453};
    453 struct apbuart_baud apbuart_baud_table[] = {
     454static struct apbuart_baud apbuart_baud_table[] = {
    454455        {B50, 50},
    455456        {B75, 75},
     
    474475#define BAUD_NUM (sizeof(apbuart_baud_table)/sizeof(struct apbuart_baud))
    475476
    476 int apbuart_baud_num2baud(unsigned int num)
     477static int apbuart_baud_num2baud(unsigned int num)
    477478{
    478479        int i;
     
    484485}
    485486
    486 struct apbuart_baud *apbuart_baud_find_closest(unsigned int baud)
     487static struct apbuart_baud *apbuart_baud_find_closest(unsigned int baud)
    487488{
    488489        int i, diff;
     
    512513}
    513514
    514 struct apbuart_baud *apbuart_get_baud_closest(struct apbuart_priv *uart)
     515static struct apbuart_baud *apbuart_get_baud_closest(struct apbuart_priv *uart)
    515516{
    516517        return apbuart_baud_find_closest(apbuart_get_baud(uart));
Note: See TracChangeset for help on using the changeset viewer.