]> diplodocus.org Git - nmh/blobdiff - sbr/error.c
Put parameter names in h/utils.h memory function prototypes.
[nmh] / sbr / error.c
index 1ac4cb115922bfbd40673bf156c761a58bbf9d8d..c23c3dfa3072cb996757bb6a7f140714447c65ea 100644 (file)
@@ -17,7 +17,7 @@
  * print out error message
  */
 void
-advise (const char *what, char *fmt, ...)
+advise (const char *what, const char *fmt, ...)
 {
     va_list ap;
 
@@ -31,7 +31,7 @@ advise (const char *what, char *fmt, ...)
  * print out error message and exit
  */
 void
-adios (const char *what, char *fmt, ...)
+adios (const char *what, const char *fmt, ...)
 {
     va_list ap;
 
@@ -60,7 +60,7 @@ admonish (char *what, char *fmt, ...)
  * main routine for printing error messages.
  */
 void
-advertise (const char *what, char *tail, char *fmt, va_list ap)
+advertise (const char *what, char *tail, const char *fmt, va_list ap)
 {
     int        eindex = errno;
     char buffer[BUFSIZ], err[BUFSIZ];