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

Unified Diff: src/lib/util/warn.h

Issue 2847081: Initial code. (Closed) Base URL: ssh://git@chromiumos-git/libscrypt.git
Patch Set: Use scrypt distro and patch with changes instead. Created 10 years, 5 months 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 | « src/lib/util/sysendian.h ('k') | src/lib/util/warn.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lib/util/warn.h
diff --git a/src/lib/util/warn.h b/src/lib/util/warn.h
new file mode 100644
index 0000000000000000000000000000000000000000..262d24b64573eb18b14f0063673440dea7350f94
--- /dev/null
+++ b/src/lib/util/warn.h
@@ -0,0 +1,13 @@
+#ifndef _WARN_H_
+#define _WARN_H_
+
+#ifdef HAVE_ERR_H
+#include <err.h>
+#else
+#define NEED_WARN_PROGNAME
+const char * warn_progname;
+void warn(const char *, ...);
+void warnx(const char *, ...);
+#endif
+
+#endif /* !_WARN_H_ */
« no previous file with comments | « src/lib/util/sysendian.h ('k') | src/lib/util/warn.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698