Skip to content

Commit

Permalink
Bugzilla bug #64238: removed the unnecessary inclusion of mcom_db.h from
Browse files Browse the repository at this point in the history
cryptohi.h, pk11func.h, secpkcs7.h, and cms.h.  Some files now need to
include <errno.h>.  They were including <errno.h> indirectly through
mcom_db.h.
Modified Files:
	cmd/atob/atob.c cmd/btoa/btoa.c cmd/derdump/derdump.c
	lib/cryptohi/cryptohi.h lib/pk11wrap/pk11func.h
	lib/pkcs7/secpkcs7.h lib/smime/cms.h lib/ssl/sslsnce.c
  • Loading branch information
wtc%netscape.com committed Jan 4, 2001
1 parent 2659cd9 commit 0ec7e9a
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 5 deletions.
1 change: 1 addition & 0 deletions security/nss/cmd/atob/atob.c
Expand Up @@ -34,6 +34,7 @@
#include "plgetopt.h"
#include "secutil.h"
#include "nssb64.h"
#include <errno.h>

#if defined(XP_WIN) || (defined(__sun) && !defined(SVR4))
#if !defined(WIN32)
Expand Down
1 change: 1 addition & 0 deletions security/nss/cmd/btoa/btoa.c
Expand Up @@ -34,6 +34,7 @@
#include "plgetopt.h"
#include "secutil.h"
#include "nssb64.h"
#include <errno.h>

#if defined(XP_WIN) || (defined(__sun) && !defined(SVR4))
#if !defined(WIN32)
Expand Down
1 change: 1 addition & 0 deletions security/nss/cmd/derdump/derdump.c
Expand Up @@ -32,6 +32,7 @@
*/

#include "secutil.h"
#include <errno.h>

#if defined(XP_WIN) || (defined(__sun) && !defined(SVR4))
#if !defined(WIN32)
Expand Down
2 changes: 0 additions & 2 deletions security/nss/lib/cryptohi/cryptohi.h
Expand Up @@ -40,8 +40,6 @@

#include "blapi.h"

#include "mcom_db.h"

#include "seccomon.h"
#include "secrngt.h"
#include "secoidt.h"
Expand Down
1 change: 0 additions & 1 deletion security/nss/lib/pk11wrap/pk11func.h
Expand Up @@ -36,7 +36,6 @@
#ifndef _PK11FUNC_H_
#define _PK11FUNC_H_
#include "plarena.h"
#include "mcom_db.h"
#include "seccomon.h"
#include "secoidt.h"
#include "secdert.h"
Expand Down
1 change: 0 additions & 1 deletion security/nss/lib/pkcs7/secpkcs7.h
Expand Up @@ -41,7 +41,6 @@
#define _SECPKCS7_H_

#include "seccomon.h"
#include "mcom_db.h" /* needed by certt.h */

#include "secoidt.h"
#include "secder.h" /* needed by certt.h; XXX go away when possible */
Expand Down
1 change: 0 additions & 1 deletion security/nss/lib/smime/cms.h
Expand Up @@ -41,7 +41,6 @@
#define _CMS_H_

#include "seccomon.h"
#include "mcom_db.h" /* needed by certt.h */

#include "secoidt.h"
#include "secder.h" /* needed by certt.h; XXX go away when possible */
Expand Down
1 change: 1 addition & 0 deletions security/nss/lib/ssl/sslsnce.c
Expand Up @@ -93,6 +93,7 @@
#include <syslog.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include "unix_err.h"

#else /* XP_WIN32 */
Expand Down

0 comments on commit 0ec7e9a

Please sign in to comment.