]> diplodocus.org Git - nmh/commitdiff
Added const to first arg of adios().
authorDavid Levine <levinedl@acm.org>
Sun, 12 Jun 2016 14:35:47 +0000 (10:35 -0400)
committerDavid Levine <levinedl@acm.org>
Sun, 12 Jun 2016 14:35:47 +0000 (10:35 -0400)
h/prototypes.h
sbr/error.c

index 441863a..ef02f9a 100644 (file)
@@ -18,7 +18,7 @@ char *etcpath(char *);
 struct msgs_array;
 
 void add_profile_entry (const char *, const char *);
-void adios (char *, char *, ...) NORETURN;
+void adios (const char *, char *, ...) NORETURN;
 void admonish (char *, char *, ...);
 void advertise (const char *, char *, char *, va_list);
 void advise (const char *, char *, ...);
index 6fb0d5c..1ac4cb1 100644 (file)
@@ -31,7 +31,7 @@ advise (const char *what, char *fmt, ...)
  * print out error message and exit
  */
 void
-adios (char *what, char *fmt, ...)
+adios (const char *what, char *fmt, ...)
 {
     va_list ap;