mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
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.
This commit is contained in:
@ -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. */
|
||||
|
Reference in New Issue
Block a user