From: Martin Mares Date: Fri, 13 Feb 2009 16:48:38 +0000 (+0100) Subject: Logging: Use `uns' instead of `u32' to pass flags. X-Git-Tag: holmes-import~103 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=6a264fca602966e00c71e7c33e453dae0cd8a168;p=libucw.git Logging: Use `uns' instead of `u32' to pass flags. --- diff --git a/ucw/log-file.c b/ucw/log-file.c index a07f705f..98a4b8e2 100644 --- a/ucw/log-file.c +++ b/ucw/log-file.c @@ -124,7 +124,7 @@ static void ls_fdfile_close(struct log_stream *ls) } /* handler for standard files */ -static int ls_fdfile_handler(struct log_stream* ls, const char *m, u32 cat UNUSED) +static int ls_fdfile_handler(struct log_stream* ls, const char *m, uns cat UNUSED) { int len = strlen(m); int r = write(ls->idata, m, len); diff --git a/ucw/log-syslog.c b/ucw/log-syslog.c index 9883f789..f92b6165 100644 --- a/ucw/log-syslog.c +++ b/ucw/log-syslog.c @@ -39,7 +39,7 @@ static int ls_syslog_convert_level(int level) } /* simple syslog write handler */ -static int ls_syslog_handler(struct log_stream *ls, const char *m, u32 flags) +static int ls_syslog_handler(struct log_stream *ls, const char *m, uns flags) { int prio; ASSERT(ls); diff --git a/ucw/log.h b/ucw/log.h index cbc018e9..b336f2e7 100644 --- a/ucw/log.h +++ b/ucw/log.h @@ -28,14 +28,14 @@ struct log_stream /* severity levels to accept - bitmask of (1<