summaryrefslogtreecommitdiff
path: root/security/nss/cmd
diff options
context:
space:
mode:
authornelsonb%netscape.com <devnull@localhost>2001-01-04 08:21:15 +0000
committernelsonb%netscape.com <devnull@localhost>2001-01-04 08:21:15 +0000
commit4991b86fceb873adc35a9f3cd2cd37ff12f16481 (patch)
treea1ea979f3b54ed0f5df3af1bf9b62d3d1856d611 /security/nss/cmd
parent8ef87415cd2d2202c44d3e6d695edbe3c8a23e05 (diff)
downloadnss-hg-4991b86fceb873adc35a9f3cd2cd37ff12f16481.tar.gz
Reduce warnings by adding missing #includes to eliminate calls to
undeclared functions.
Diffstat (limited to 'security/nss/cmd')
-rw-r--r--security/nss/cmd/bltest/blapitest.c1
-rw-r--r--security/nss/cmd/lib/secpwd.c1
-rw-r--r--security/nss/cmd/lib/secutil.c1
-rw-r--r--security/nss/cmd/pk12util/pk12util.c2
-rw-r--r--security/nss/cmd/sdrtest/sdrtest.c1
5 files changed, 5 insertions, 1 deletions
diff --git a/security/nss/cmd/bltest/blapitest.c b/security/nss/cmd/bltest/blapitest.c
index 21d68c5a4..ca1f5f50b 100644
--- a/security/nss/cmd/bltest/blapitest.c
+++ b/security/nss/cmd/bltest/blapitest.c
@@ -44,6 +44,7 @@
#include "secutil.h"
#include "plgetopt.h"
#include "softoken.h"
+#include "nss.h"
char *progName;
char *testdir = NULL;
diff --git a/security/nss/cmd/lib/secpwd.c b/security/nss/cmd/lib/secpwd.c
index 9423da63a..f42b08aa6 100644
--- a/security/nss/cmd/lib/secpwd.c
+++ b/security/nss/cmd/lib/secpwd.c
@@ -47,6 +47,7 @@
#ifdef _WINDOWS
#include <conio.h>
+#include <io.h>
#define QUIET_FGETS quiet_fgets
static int quiet_fgets (char *buf, int length, FILE *input);
#else
diff --git a/security/nss/cmd/lib/secutil.c b/security/nss/cmd/lib/secutil.c
index dd91b7230..f1389e8ab 100644
--- a/security/nss/cmd/lib/secutil.c
+++ b/security/nss/cmd/lib/secutil.c
@@ -44,6 +44,7 @@
#include "secutil.h"
#include "secpkcs7.h"
+#include "secrng.h"
#include <sys/stat.h>
#include <stdarg.h>
diff --git a/security/nss/cmd/pk12util/pk12util.c b/security/nss/cmd/pk12util/pk12util.c
index 8248fbecf..05dd632bd 100644
--- a/security/nss/cmd/pk12util/pk12util.c
+++ b/security/nss/cmd/pk12util/pk12util.c
@@ -37,8 +37,8 @@
#include "pk11func.h"
#include "pkcs12.h"
#include "p12plcy.h"
-
#include "pk12util.h"
+#include "nss.h"
#define PKCS12_IN_BUFFER_SIZE 200
diff --git a/security/nss/cmd/sdrtest/sdrtest.c b/security/nss/cmd/sdrtest/sdrtest.c
index 3c1576d61..8ab27f4de 100644
--- a/security/nss/cmd/sdrtest/sdrtest.c
+++ b/security/nss/cmd/sdrtest/sdrtest.c
@@ -46,6 +46,7 @@
#include "plgetopt.h"
#include "pk11sdr.h"
+#include "secrng.h"
#define DEFAULT_VALUE "Test"