Changeset a36094f in rtems


Ignore:
Timestamp:
Oct 13, 2014, 12:16:33 AM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
2dac965
Parents:
d9c12bb
git-author:
Joel Sherrill <joel.sherrill@…> (10/13/14 00:16:33)
git-committer:
Joel Sherrill <joel.sherrill@…> (10/13/14 15:33:35)
Message:

libbsp/shared/umon: Fix warnings

Location:
c/src/lib/libbsp/shared/umon
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/shared/umon/monlib.c

    rd9c12bb ra36094f  
    181181#define GENERIC_MONLOCK         monLock
    182182#define GENERIC_MONUNLOCK       monUnlock
     183
     184/*
     185 * Prototype these to avoid warnings but let them appear varargs to user.
     186 */
     187extern void mon_memtrace(
     188  char *fmt,
     189  int   a1, int a2, int a3, int a4,  int a5,  int a6,
     190  int   a7, int a8, int a9, int a10, int a11, int a12
     191);
     192extern int mon_printf(
     193  char *fmt,
     194  int   a1, int a2, int a3, int a4,  int a5,  int a6,
     195  int   a7, int a8, int a9, int a10, int a11, int a12
     196);
     197extern int mon_cprintf(
     198  char *fmt,
     199  int   a1, int a2, int a3, int a4,  int a5,  int a6,
     200  int   a7, int a8, int a9, int a10, int a11, int a12
     201);
     202extern int mon_sprintf(
     203  char *buf,
     204  char *fmt,
     205  int   a1, int a2, int a3, int a4,  int a5,  int a6,
     206  int   a7, int a8, int a9, int a10, int a11, int a12
     207);
    183208
    184209/**************************************************************************
     
    312337static int ignorelock = 0;
    313338
     339#if KEEP_TO_STAY_IN_SYNC_WITH_UPSTREAM_BUT_UNUSED
    314340static void
    315341DisableMonLock(void)
     
    323349        ignorelock = 0;
    324350}
     351#endif
    325352
    326353/* monLock() & monUnlock():
  • c/src/lib/libbsp/shared/umon/tfsDriver.c

    rd9c12bb ra36094f  
    451451  rtems_libio_t *iop,
    452452  void          *buffer,
    453   uint32_t       count
     453  size_t         count
    454454)
    455455{
     
    512512  rtems_libio_t *iop,
    513513  const void    *buffer,
    514   uint32_t       count
     514  size_t         count
    515515)
    516516{
  • c/src/lib/libbsp/shared/umon/umon.h

    rd9c12bb ra36094f  
    4747 * @param[in] path is the mount point
    4848 *
    49  * @return This method returns 0 on sucess.
     49 * @return This method returns 0 on success.
    5050 */
    5151int rtems_initialize_tfs_filesystem(
     
    5353);
    5454
     55/**
     56 * @brief Read from MicroMonitor Port
     57 *
     58 * This method reads a character from the MicroMonitor console.
     59 *
     60 * @return This method returns a character.
     61 */
     62int umoncons_poll_read(int minor);
     63
    5564#endif
Note: See TracChangeset for help on using the changeset viewer.