wpp: Shed an unused parameter from generic_msg. (RESEND)
Gerald Pfeifer
gerald at pfeifer.com
Wed Sep 7 18:26:13 CDT 2011
I sent basically this in February without any feedback, and it still
applies.
Gerald
---
libs/wpp/preproc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libs/wpp/preproc.c b/libs/wpp/preproc.c
index 99934d6..89b19f3 100644
--- a/libs/wpp/preproc.c
+++ b/libs/wpp/preproc.c
@@ -684,7 +684,7 @@ int pp_get_if_depth(void)
/* #define WANT_NEAR_INDICATION */
-static void generic_msg(const char *s, const char *t, const char *n, va_list ap)
+static void generic_msg(const char *s, const char *t, va_list ap)
{
fprintf(stderr, "%s:%d:%d: %s: ", pp_status.input ? pp_status.input : "stdin",
pp_status.line_number, pp_status.char_number, t);
@@ -709,13 +709,13 @@ end:
static void wpp_default_error(const char *file, int line, int col, const char *near, const char *msg, va_list ap)
{
- generic_msg(msg, "Error", near, ap);
+ generic_msg(msg, "Error", ap);
exit(1);
}
static void wpp_default_warning(const char *file, int line, int col, const char *near, const char *msg, va_list ap)
{
- generic_msg(msg, "Warning", near, ap);
+ generic_msg(msg, "Warning", ap);
}
static const struct wpp_callbacks default_callbacks =
--
1.7.6
More information about the wine-patches
mailing list