diff options
author | Ted Lemon <source@isc.org> | 1999-02-24 17:56:53 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 1999-02-24 17:56:53 +0000 |
commit | 8ae2d59584635a17803f292a1fb1924dfb6754c5 (patch) | |
tree | 77acd5078fbe5d32fac6686de3eb8db63edc3c69 /common/errwarn.c | |
parent | c68d2a87b103a922bd81716a54968335d995b21c (diff) | |
download | isc-dhcp-8ae2d59584635a17803f292a1fb1924dfb6754c5.tar.gz |
Change names of error functions to be more consistent.
Diffstat (limited to 'common/errwarn.c')
-rw-r--r-- | common/errwarn.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/common/errwarn.c b/common/errwarn.c index 078ae417..16d2c2d3 100644 --- a/common/errwarn.c +++ b/common/errwarn.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: errwarn.c,v 1.15 1997/05/09 08:03:44 mellon Exp $ Copyright (c) 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: errwarn.c,v 1.16 1999/02/24 17:56:45 mellon Exp $ Copyright (c) 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -57,7 +57,7 @@ int warnings_occurred; /* Log an error message, then exit... */ -void error (ANSI_DECL(char *) fmt, VA_DOTDOTDOT) +void log_fatal (ANSI_DECL(char *) fmt, VA_DOTDOTDOT) KandR (char *fmt;) va_dcl { @@ -89,9 +89,9 @@ void error (ANSI_DECL(char *) fmt, VA_DOTDOTDOT) exit (1); } -/* Log a warning message... */ +/* Log an error message... */ -int warn (ANSI_DECL (char *) fmt, VA_DOTDOTDOT) +int log_error (ANSI_DECL (char *) fmt, VA_DOTDOTDOT) KandR (char *fmt;) va_dcl { @@ -117,7 +117,7 @@ int warn (ANSI_DECL (char *) fmt, VA_DOTDOTDOT) /* Log a note... */ -int note (ANSI_DECL (char *) fmt, VA_DOTDOTDOT) +int log_info (ANSI_DECL (char *) fmt, VA_DOTDOTDOT) KandR (char *fmt;) va_dcl { @@ -143,7 +143,7 @@ int note (ANSI_DECL (char *) fmt, VA_DOTDOTDOT) /* Log a debug message... */ -int debug (ANSI_DECL (char *) fmt, VA_DOTDOTDOT) +int log_debug (ANSI_DECL (char *) fmt, VA_DOTDOTDOT) KandR (char *fmt;) va_dcl { |