Bug 1372226 - NSS certutil/keystuff.c cleanup for Solaris r=ttaubert
authorPetr Sumbera <petr.sumbera@oracle.com>
Tue, 13 Jun 2017 15:03:37 +0200
changeset 13443 d68d2b44082f817aa83e83e13495f9dd8fbaaec7
parent 13442 a1a6eb781dd42f333e5929a36807a88dc715da1d
child 13444 651fa75c68b0afea71308780389d612b4d563939
push id2255
push userttaubert@mozilla.com
push dateTue, 13 Jun 2017 13:04:13 +0000
reviewersttaubert
bugs1372226
Bug 1372226 - NSS certutil/keystuff.c cleanup for Solaris r=ttaubert
cmd/certutil/keystuff.c
--- a/cmd/certutil/keystuff.c
+++ b/cmd/certutil/keystuff.c
@@ -12,24 +12,16 @@
 #include <termios.h>
 #endif
 
 #if defined(XP_WIN) || defined(XP_PC)
 #include <time.h>
 #include <conio.h>
 #endif
 
-#if defined(__sun) && !defined(SVR4)
-extern int fclose(FILE *);
-extern int fprintf(FILE *, char *, ...);
-extern int isatty(int);
-extern char *sys_errlist[];
-#define strerror(errno) sys_errlist[errno]
-#endif
-
 #include "nspr.h"
 #include "prtypes.h"
 #include "prtime.h"
 #include "prlong.h"
 
 #include "pk11func.h"
 
 #define NUM_KEYSTROKES 120