* libltdl/lt__alloc.c, libltdl/loaders/preopen.c,

libltdl/loaders/dyld.c, libltdl/loaders/dlopen.c, libltdl/ltdl.c,
libltdl/lt_error.c, libltdl/lt_dlloader.c, libltdl/lt__dirent.c:
Include lt__private.h prior to any system headers.
* libltdl/lt__alloc.c: Remove redundant inclusion of configuration
header.
This commit is contained in:
Bob Friesenhahn 2007-07-04 23:05:05 +00:00
parent 59bc6b59d0
commit 7429314926
9 changed files with 21 additions and 16 deletions

View File

@ -1,3 +1,12 @@
2007-07-04 Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
* libltdl/lt__alloc.c, libltdl/loaders/preopen.c,
libltdl/loaders/dyld.c, libltdl/loaders/dlopen.c, libltdl/ltdl.c,
libltdl/lt_error.c, libltdl/lt_dlloader.c, libltdl/lt__dirent.c:
Include lt__private.h prior to any system headers.
* libltdl/lt__alloc.c: Remove redundant inclusion of configuration
header.
2007-07-04 Eric Blake <ebb9@byu.net>
* libltdl/ltdl.c (advise_dup): Delete function no longer used

View File

@ -29,8 +29,8 @@ or obtained by writing to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "lt_dlloader.h"
#include "lt__private.h"
#include "lt_dlloader.h"
/* Use the preprocessor to rename non-static symbols to avoid namespace
collisions when the loader code is statically linked into libltdl.

View File

@ -29,8 +29,8 @@ or obtained by writing to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "lt_dlloader.h"
#include "lt__private.h"
#include "lt_dlloader.h"
/* Use the preprocessor to rename non-static symbols to avoid namespace
collisions when the loader code is statically linked into libltdl.

View File

@ -29,8 +29,8 @@ or obtained by writing to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "lt_dlloader.h"
#include "lt__private.h"
#include "lt_dlloader.h"
/* Use the preprocessor to rename non-static symbols to avoid namespace
collisions when the loader code is statically linked into libltdl.

View File

@ -1,6 +1,6 @@
/* lt__alloc.c -- internal memory management interface
Copyright (C) 2004, 2006 Free Software Foundation, Inc.
Copyright (C) 2004, 2006, 2007 Free Software Foundation, Inc.
Written by Gary V. Vaughan, 2004
NOTE: The canonical source of this file is maintained with the
@ -28,16 +28,11 @@ or obtained by writing to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#if defined(LT_CONFIG_H)
# include LT_CONFIG_H
#else
# include <config.h>
#endif
#include "lt__private.h"
#include <stdio.h>
#include "lt__alloc.h"
#include "lt__private.h"
static void alloc_die_default (void);

View File

@ -28,10 +28,11 @@ or obtained by writing to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "lt__private.h"
#include <assert.h>
#include <stddef.h>
#include "lt__private.h"
#include "lt__dirent.h"
#if defined(__WINDOWS__)

View File

@ -1,6 +1,6 @@
/* lt_dlloader.c -- dynamic library loader interface
Copyright (C) 2004 Free Software Foundation, Inc.
Copyright (C) 2004, 2007 Free Software Foundation, Inc.
Written by Gary V. Vaughan, 2004
NOTE: The canonical source of this file is maintained with the
@ -28,8 +28,8 @@ or obtained by writing to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "lt_dlloader.h"
#include "lt__private.h"
#include "lt_dlloader.h"
#define RETURN_SUCCESS 0
#define RETURN_FAILURE 1

View File

@ -1,6 +1,6 @@
/* lt_error.c -- error propogation interface
Copyright (C) 1999, 2000, 2001, 2004, 2005 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2004, 2005, 2007 Free Software Foundation, Inc.
Written by Thomas Tanner, 1999
NOTE: The canonical source of this file is maintained with the
@ -28,8 +28,8 @@ or obtained by writing to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "lt_error.h"
#include "lt__private.h"
#include "lt_error.h"
static const char *last_error = 0;
static const char error_strings[LT_ERROR_MAX][LT_ERROR_LEN_MAX + 1] =

View File

@ -29,9 +29,9 @@ or obtained by writing to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "lt__private.h"
#include "lt_system.h"
#include "lt_dlloader.h"
#include "lt__private.h"
/* --- MANIFEST CONSTANTS --- */