Remove pointless #include from .m and .h files

This was done with a brute-force approach, ensuring no additional
warnings from GCC 4.9 under x86_64.
This commit is contained in:
Patrice Levesque committed 2016-02-13 17:41:54 -05:00
1 parent 7c25b53fdf
commit bd56f4cf9f
109 files changed
-307

No files matched your search

-1
View File
@@ -23,7 +23,6 @@
#include "SOGoSource.h"
#include "SOGoConstants.h"
@class LDAPSourceSchema;
@class NGLdapEntry;
-1
View File
@@ -18,7 +18,6 @@
* Boston, MA 02111-1307, USA.
*/
#include <ldap.h>
#import <NGExtensions/NSObject+Logs.h>
-7
View File
@@ -27,8 +27,6 @@
#include <crypt.h>
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
@@ -36,7 +34,6 @@
#include <unistd.h>
#if defined(HAVE_GNUTLS)
#include <stdint.h>
#include <gnutls/gnutls.h>
#include <gnutls/crypto.h>
#include "md4.h"
@@ -46,10 +43,6 @@
#define SHA256_DIGEST_LENGTH 32
#define SHA512_DIGEST_LENGTH 64
#elif defined(HAVE_OPENSSL)
#include <openssl/evp.h>
#include <openssl/md4.h>
#include <openssl/md5.h>
#include <openssl/sha.h>
#else
#error this module requires either gnutls or openssl
#endif
-1
View File
@@ -29,7 +29,6 @@
#import "NSData+Crypto.h"
#import <NGExtensions/NGBase64Coding.h>
#include "lmhash.h"
@implementation NSString (SOGoCryptoExtension)
-3
View File
@@ -20,9 +20,6 @@
* Boston, MA 02111-1307, USA.
*/
#include <stdio.h>
#include <stdlib.h>
#include <ldap.h>
#import <NGExtensions/NSObject+Logs.h>
-2
View File
@@ -18,13 +18,11 @@
* Boston, MA 02111-1307, USA.
*/
#include <lasso/lasso.h>
#include <lasso/xml/misc_text_node.h>
#include <lasso/xml/saml-2.0/saml2_attribute.h>
#include <lasso/xml/saml-2.0/saml2_attribute_statement.h>
#include <lasso/xml/saml-2.0/saml2_attribute_value.h>
#include <lasso/xml/saml-2.0/samlp2_authn_request.h>
#include <lasso/xml/saml-2.0/samlp2_response.h>
#import <NGObjWeb/WOApplication.h>
-2
View File
@@ -29,8 +29,6 @@
#import <NGExtensions/NGBase64Coding.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
-2
View File
@@ -23,10 +23,8 @@
#include "md4.h"
#include <stdalign.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#if USE_UNLOCKED_IO
# include "unlocked-io.h"