Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: third_party/fips181/randpass.h

Issue 2571113002: Remove unnecessary typedefs in third_party/fips181. (Closed)
Patch Set: Solve for MSVC warning C4805. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/fips181/owntypes.h ('k') | third_party/fips181/randpass.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/fips181/randpass.h
diff --git a/third_party/fips181/randpass.h b/third_party/fips181/randpass.h
index ee0df6233eec4b7449a5a3ba35443e4a871de596..013c57228ecced96039cb15bb03a98a104c3a439 100644
--- a/third_party/fips181/randpass.h
+++ b/third_party/fips181/randpass.h
@@ -33,20 +33,16 @@
#ifndef APG_RANDPASS_H
#define APG_RANDPASS_H 1
-#ifndef APG_OWN_TYPES_H
-#include "owntypes.h"
-#endif
-
struct sym
{
char ch;
- USHORT type;
+ unsigned short type;
};
/* char gen_symbol(unsigned short int symbol_class); */
extern int gen_rand_pass(char* password_string, int minl,
int maxl, unsigned int pass_mode);
extern int gen_rand_symbol (char *symbol, unsigned int mode);
-extern int is_restricted_symbol (char symbol);
+extern bool is_restricted_symbol (char symbol);
#endif /* RANDPASS_H */
« no previous file with comments | « third_party/fips181/owntypes.h ('k') | third_party/fips181/randpass.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698