static char __EH_FRAME_BEGIN__[];
static func_ptr __DTOR_LIST__[];
static void
-__do_global_dtors_aux ()
+__do_global_dtors_aux (void)
{
static func_ptr *p = __DTOR_LIST__ + 1;
static int completed = 0;
/* Stick a call to __do_global_dtors_aux into the .fini section. */
static void __attribute__ ((__unused__))
-fini_dummy ()
+fini_dummy (void)
{
asm (FINI_SECTION_ASM_OP);
__do_global_dtors_aux ();
call in another function. */
static void
-frame_dummy ()
+frame_dummy (void)
{
static struct object object;
if (__register_frame_info)
}
static void __attribute__ ((__unused__))
-init_dummy ()
+init_dummy (void)
{
asm (INIT_SECTION_ASM_OP);
frame_dummy ();
to switch to the .text section. */
static void __do_global_ctors_aux ();
-void __do_global_ctors ()
+void
+__do_global_ctors (void)
{
#ifdef INVOKE__main /* If __main won't actually call __do_global_ctors
then it doesn't matter what's inside the function.
file-scope static-storage C++ objects within shared libraries. */
static void
-__do_global_ctors_aux () /* prologue goes in .init section */
+__do_global_ctors_aux (void) /* prologue goes in .init section */
{
#ifdef FORCE_INIT_SECTION_ALIGN
FORCE_INIT_SECTION_ALIGN; /* Explicit align before switch to .text */
static char __EH_FRAME_BEGIN__[];
static func_ptr __DTOR_LIST__[];
void
-__do_global_dtors ()
+__do_global_dtors (void)
{
func_ptr *p;
for (p = __DTOR_LIST__ + 1; *p; p++)
after libgcc.a, and hence can't call libgcc.a functions directly. That
can lead to unresolved function references. */
void
-__frame_dummy ()
+__frame_dummy (void)
{
static struct object object;
if (__register_frame_info)
static func_ptr __CTOR_END__[];
static void
-__do_global_ctors_aux ()
+__do_global_ctors_aux (void)
{
func_ptr *p;
for (p = __CTOR_END__ - 1; *p != (func_ptr) -1; p--)
/* Stick a call to __do_global_ctors_aux into the .init section. */
static void __attribute__ ((__unused__))
-init_dummy ()
+init_dummy (void)
{
asm (INIT_SECTION_ASM_OP);
__do_global_ctors_aux ();
before we start to execute any of the user's code. */
static void
-__do_global_ctors_aux () /* prologue goes in .text section */
+__do_global_ctors_aux (void) /* prologue goes in .text section */
{
asm (INIT_SECTION_ASM_OP);
DO_GLOBAL_CTORS_BODY;
extern void __frame_dummy (void);
#endif
void
-__do_global_ctors ()
+__do_global_ctors (void)
{
func_ptr *p;
#ifdef EH_FRAME_SECTION_ASM_OP
static void __reg_frame_ctor () __attribute__ ((constructor));
static void
-__reg_frame_ctor ()
+__reg_frame_ctor (void)
{
static struct object object;
const struct section *eh_frame;
static void __dereg_frame_dtor () __attribute__ ((destructor));
static
-void __dereg_frame_dtor ()
+void
+__dereg_frame_dtor (void)
{
const struct section *eh_frame;