mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
Use more consistent function name with the others (pjdlogv_prefix_set()
instead of pjdlog_prefix_setv()). MFC after: 1 week
This commit is contained in:
parent
911a2aa37a
commit
09d6ae1b34
2 changed files with 3 additions and 3 deletions
|
|
@ -105,7 +105,7 @@ pjdlog_prefix_set(const char *fmt, ...)
|
|||
va_list ap;
|
||||
|
||||
va_start(ap, fmt);
|
||||
pjdlog_prefix_setv(fmt, ap);
|
||||
pjdlogv_prefix_set(fmt, ap);
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
|
|
@ -114,7 +114,7 @@ pjdlog_prefix_set(const char *fmt, ...)
|
|||
* Setting prefix to NULL will remove it.
|
||||
*/
|
||||
void
|
||||
pjdlog_prefix_setv(const char *fmt, va_list ap)
|
||||
pjdlogv_prefix_set(const char *fmt, va_list ap)
|
||||
{
|
||||
|
||||
assert(fmt != NULL);
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ void pjdlog_debug_set(int level);
|
|||
int pjdlog_debug_get(void);
|
||||
|
||||
void pjdlog_prefix_set(const char *fmt, ...) __printflike(1, 2);
|
||||
void pjdlog_prefix_setv(const char *fmt, va_list ap) __printflike(1, 0);
|
||||
void pjdlogv_prefix_set(const char *fmt, va_list ap) __printflike(1, 0);
|
||||
|
||||
void pjdlog_common(int loglevel, int debuglevel, int error, const char *fmt,
|
||||
...) __printflike(4, 5);
|
||||
|
|
|
|||
Loading…
Reference in a new issue