summaryrefslogtreecommitdiff
path: root/pppd/pppd.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2008-06-03 12:06:37 +0000
committerPaul Mackerras <paulus@samba.org>2008-06-03 12:06:37 +0000
commit18d1bf125b75c5211aefd678c36d622fef28f59f (patch)
treee1e44a5251b7ffcff4d06d801d32615c9c837140 /pppd/pppd.h
parent638647916bb20f23221b0fd5fd6a8bb79a020093 (diff)
downloadppp-18d1bf125b75c5211aefd678c36d622fef28f59f.tar.gz
Minor tweaks to utils.c
Add a const qualifier to the prefix arg for init_pr_log, and use OUTCHAR in a couple of places in vslprintf instead of explicitly putting things in the buffer.
Diffstat (limited to 'pppd/pppd.h')
-rw-r--r--pppd/pppd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pppd/pppd.h b/pppd/pppd.h
index cfb3a68..ae38f67 100644
--- a/pppd/pppd.h
+++ b/pppd/pppd.h
@@ -39,7 +39,7 @@
* AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: pppd.h,v 1.92 2007/06/19 02:08:35 carlsonj Exp $
+ * $Id: pppd.h,v 1.93 2008/06/03 12:06:37 paulus Exp $
*/
/*
@@ -516,7 +516,7 @@ void notice __P((char *, ...)); /* log a notice-level message */
void warn __P((char *, ...)); /* log a warning message */
void error __P((char *, ...)); /* log an error message */
void fatal __P((char *, ...)); /* log an error message and die(1) */
-void init_pr_log __P((char *, int)); /* initialize for using pr_log */
+void init_pr_log __P((const char *, int)); /* initialize for using pr_log */
void pr_log __P((void *, char *, ...)); /* printer fn, output to syslog */
void end_pr_log __P((void)); /* finish up after using pr_log */
void dump_packet __P((const char *, u_char *, int));