Ignore:
Timestamp:
Oct 16, 2014, 6:11:58 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
2cb449d
Parents:
6c6a21c
git-author:
Joel Sherrill <joel.sherrill@…> (10/16/14 18:11:58)
git-committer:
Joel Sherrill <joel.sherrill@…> (10/19/14 22:00:56)
Message:

powerpc/mvme3100: Fix warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c

    r6c6a21c r9b763110  
    4848
    4949extern unsigned long __rtems_end[];
    50 extern void          BSP_vme_config(void);
    51 extern void          BSP_pciConfigDump_early( void );
    5250extern unsigned      ppc_exc_lock_std, ppc_exc_gpr3_std;
    5351
     
    124122 *  Use the shared implementations of the following routines
    125123 */
    126 char * save_boot_params(
    127   void* r3,
     124char *save_boot_params(
     125  void *r3,
    128126  void *r4,
    129   void* r5,
    130   char *additional_boot_options)
    131 {
    132 
    133   strncpy(cmdline_buf, additional_boot_options, CMDLINE_BUF_SIZE);
     127  void *r5,
     128  char *cmdline_start,
     129  char *cmdline_end
     130)
     131{
     132
     133  strncpy(cmdline_buf, cmdline_start, CMDLINE_BUF_SIZE);
    134134  cmdline_buf[CMDLINE_BUF_SIZE - 1] ='\0';
    135135  return cmdline_buf;
Note: See TracChangeset for help on using the changeset viewer.