]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/lt__alloc.c, libltdl/loaders/preopen.c,
authorBob Friesenhahn <bfriesen@simple.dallas.tx.us>
Wed, 4 Jul 2007 23:05:05 +0000 (23:05 +0000)
committerBob Friesenhahn <bfriesen@simple.dallas.tx.us>
Wed, 4 Jul 2007 23:05:05 +0000 (23:05 +0000)
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.

ChangeLog
libltdl/loaders/dlopen.c
libltdl/loaders/dyld.c
libltdl/loaders/preopen.c
libltdl/lt__alloc.c
libltdl/lt__dirent.c
libltdl/lt_dlloader.c
libltdl/lt_error.c
libltdl/ltdl.c

index 427aa98dddcb9b0f252c9079aeea07f179c53ec0..4fab16879b728f79d1ef1344a8b5330ee7a94070 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 5313bc795d666c94f227ccc44f4cec1591178fd8..1cd6b4d94a83a7494a7dee73c490812558399f7f 100644 (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.
index 216b4260262d4c0d9829a50c4f500ba511b77ae4..b6ee94365a741089622c8a370deb1c910d5aed77 100644 (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.
index 664140be4e3010a1ddca8c8c1d2401db8163c8be..22a81e8c4684fa5f41da61ac134a9fe80d198539 100644 (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.
index 0850c3fc017b6a5dd3aa6932a11d0268c278d3a5..d39e17e732defb9a5872eb57a1846637fabe00b4 100644 (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);
 
index a92b059b777eb10aff7a661fdfc1053dd8e36f40..30dc072c136be6ca6fed979f5979f84de9a1e34d 100644 (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__)
index 851bf413a27ebd38e8b0fcff32116d25b4473cb7..82e98cdf2b294c70667a133970313273c516f4a4 100644 (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
index 64667326af9b72b693eab0990d4e9c50838583c3..d7af36dd8bd95294c20ef110a41e27a27fd70e6e 100644 (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] =
index 23e6061134d3feea4569990277651eb80b4bab76..a3cf6e3c7b100b84b53969012d22ba90040bc647 100644 (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 --- */