1
1

Added missing include files and fixed some compilation errors

in the original code.

This commit was SVN r11031.
Этот коммит содержится в:
Terry Dontje 2006-07-27 14:44:54 +00:00
родитель 456c872f52
Коммит 9c070dafef
2 изменённых файлов: 19 добавлений и 6 удалений

Просмотреть файл

@ -9,13 +9,19 @@
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2006 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#include "opal_config.h"
#include <stdio.h>
#include "opal/constants.h"
#include "opal/mca/backtrace/backtrace.h"
void
opal_backtrace_print(FILE *file)
@ -24,10 +30,10 @@ opal_backtrace_print(FILE *file)
int
opal_backtrace_buffer(char ***message_out, int *len_out);
opal_backtrace_buffer(char ***message_out, int *len_out)
{
*messages_out = NULL;
*message_out = NULL;
*len_out = 0;
return OMPI_ERR_NOT_IMPLEMENTED
return OPAL_ERR_NOT_IMPLEMENTED;
}

Просмотреть файл

@ -9,13 +9,20 @@
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2006 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#include "opal_config.h"
#include <stdio.h>
#include <ucontext.h>
#include "opal/constants.h"
#include "opal/mca/backtrace/backtrace.h"
void
opal_backtrace_print(FILE *file)
@ -25,14 +32,14 @@ opal_backtrace_print(FILE *file)
int
opal_backtrace_buffer(char ***message_out, int *len_out);
opal_backtrace_buffer(char ***message_out, int *len_out)
{
*messages_out = NULL;
*message_out = NULL;
*len_out = 0;
/* BWB - I think we can implement this in a similar way that
printstack is implemented. I just don't have time right
now. */
return OMPI_ERR_NOT_IMPLEMENTED
return OPAL_ERR_NOT_IMPLEMENTED;
}