+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
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.
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.
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.
/* 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
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);
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__)
/* 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
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
/* 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
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] =
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 --- */