Changeset b2ddf4f in rtems


Ignore:
Timestamp:
Feb 11, 2020, 5:44:16 AM (5 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
8854a2b5
Parents:
90f11edd
git-author:
Sebastian Huber <sebastian.huber@…> (02/11/20 05:44:16)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/11/20 07:04:48)
Message:

sptests/spregion_err01: Reduce memory demands

Make functions and data static.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/spregion_err01/init.c

    r90f11edd rb2ddf4f  
    1717const char rtems_test_name[] = "SPREGION_ERR 1";
    1818
    19 rtems_name Region_name[ 2 ];    /* array of region names */
    20 rtems_id   Region_id[ 2 ];      /* array of region ids */
    21 
    22 uint32_t  Region_good_area[4096] CPU_STRUCTURE_ALIGNMENT;
     19static rtems_name Region_name[ 2 ];    /* array of region names */
     20static rtems_id   Region_id[ 2 ];      /* array of region ids */
     21
     22static uint8_t Region_good_area[4096] CPU_STRUCTURE_ALIGNMENT;
    2323#define Region_bad_area    (void *) 0x00000005
    2424#define REGION_START_OFFSET 1024
    2525#define REGION_LENGTH       512
    2626
    27 /* to avoid warnings */
    28 void region_error_tests(void);
    29 
    30 void region_error_tests(void)
     27static void region_error_tests(void)
    3128{
    3229  void                   *segment_address_1;
Note: See TracChangeset for help on using the changeset viewer.