Last change
on this file since 0007d65 was
0007d65,
checked in by Frank Kühndel <frank.kuehndel@…>, on 10/05/20 at 14:25:19
|
testsuits/dl10 : Prototype missing
Fix a compiler warning about a missing prototype.
If you wonder why the function name is not static :
The code in the file only serves a test where the dynamic object loader
(aka dlopen()) should handle duplicated symbols in an archive.
testsuites/libtests/dl10/dl10-o6.c:14:5: warning: no previous prototype
for 'rtems_main_o5' [-Wmissing-prototypes]
14 | int rtems_main_o5 (void)
|
|
-
Property mode set to
100644
|
File size:
413 bytes
|
Line | |
---|
1 | /* |
---|
2 | * Copyright (c) 2014 Chris Johns <chrisj@rtems.org>. All rights reserved. |
---|
3 | * |
---|
4 | * The license and distribution terms for this file may be |
---|
5 | * found in the file LICENSE in this distribution or at |
---|
6 | * http://www.rtems.org/license/LICENSE. |
---|
7 | */ |
---|
8 | |
---|
9 | #include "dl-load.h" |
---|
10 | #include "dl-o5.h" |
---|
11 | |
---|
12 | #include <inttypes.h> |
---|
13 | #include <rtems/test-info.h> |
---|
14 | |
---|
15 | int rtems_main_o5 (void) |
---|
16 | { |
---|
17 | /* duplicate symbol in archive */ |
---|
18 | return 0; |
---|
19 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.