This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.19-537-g4d3ae03
- From: cmetcalf at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 6 Jun 2014 22:26:25 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.19-537-g4d3ae03
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 4d3ae034b7c02b6a94e04ec7a32582379b6f4716 (commit)
from 8540f6d2a74fe9d67440535ebbcfa252180a3172 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=4d3ae034b7c02b6a94e04ec7a32582379b6f4716
commit 4d3ae034b7c02b6a94e04ec7a32582379b6f4716
Author: Chris Metcalf <cmetcalf@tilera.com>
Date: Fri Jun 6 18:25:31 2014 -0400
crypt: don't include ufc-crypt.h multiple times
The file has no inclusion guards, and contains typedefs that
cause errors when included multiple times with older (pre-C11)
compilers such as gcc 4.4.
Save the "#ifdef DOS" content to crypt-private.h even though
it's likely not particularly useful.
diff --git a/ChangeLog b/ChangeLog
index 4baa845..3821096 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
+
+ * crypt/crypt-private.h [DOS]: Add some includes taken from the
+ other files in the crypt directory.
+ * crypt/crypt.c: Remove duplicate includes.
+ * crypt/crypt-entry.c: Likewise.
+ * crypt/crypt_util.c: Likewise.
+
2014-06-06 Joseph Myers <joseph@codesourcery.com>
* Makeconfig (run-program-env): New variable.
diff --git a/crypt/crypt-entry.c b/crypt/crypt-entry.c
index 2a6e950..f6444df 100644
--- a/crypt/crypt-entry.c
+++ b/crypt/crypt-entry.c
@@ -34,16 +34,6 @@
#define STATIC static
#endif
-#ifndef DOS
-#include "ufc-crypt.h"
-#else
-/*
- * Thanks to greg%wind@plains.NoDak.edu (Greg W. Wettstein)
- * for DOS patches
- */
-#include "ufc.h"
-#endif
-#include "crypt.h"
#include "crypt-private.h"
/* Prototypes for local functions. */
diff --git a/crypt/crypt-private.h b/crypt/crypt-private.h
index ea46a7f..b6a5e07 100644
--- a/crypt/crypt-private.h
+++ b/crypt/crypt-private.h
@@ -28,7 +28,16 @@
#include <features.h>
#include <stdbool.h>
+#ifndef DOS
#include "ufc-crypt.h"
+#else
+/*
+ * Thanks to greg%wind@plains.NoDak.edu (Greg W. Wettstein)
+ * for DOS patches
+ */
+#include "pl.h"
+#include "ufc.h"
+#endif
#include "crypt.h"
/* crypt.c */
diff --git a/crypt/crypt.c b/crypt/crypt.c
index 4fb2578..1919210 100644
--- a/crypt/crypt.c
+++ b/crypt/crypt.c
@@ -23,8 +23,6 @@
*
*/
-#include "ufc-crypt.h"
-#include "crypt.h"
#include "crypt-private.h"
#ifdef _UFC_32_
diff --git a/crypt/crypt_util.c b/crypt/crypt_util.c
index 9381d67..da0a5aa 100644
--- a/crypt/crypt_util.c
+++ b/crypt/crypt_util.c
@@ -33,17 +33,6 @@
#define STATIC static
#endif
-#ifndef DOS
-#include "ufc-crypt.h"
-#else
-/*
- * Thanks to greg%wind@plains.NoDak.edu (Greg W. Wettstein)
- * for DOS patches
- */
-#include "pl.h"
-#include "ufc.h"
-#endif
-#include "crypt.h"
#include "crypt-private.h"
/* Prototypes for local functions. */
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 8 ++++++++
crypt/crypt-entry.c | 10 ----------
crypt/crypt-private.h | 9 +++++++++
crypt/crypt.c | 2 --
crypt/crypt_util.c | 11 -----------
5 files changed, 17 insertions(+), 23 deletions(-)
hooks/post-receive
--
GNU C Library master sources