Make doprnt and related functions ANSI C compliant, with prototypes.
authorKen Raeburn <raeburn@raeburn.org>
Sun, 11 Jul 2010 06:59:55 +0000 (02:59 -0400)
committerKen Raeburn <raeburn@raeburn.org>
Sun, 11 Jul 2010 06:59:55 +0000 (02:59 -0400)
commit6a8033e1c6814ab9b0b0265039f91c701f53048d
treee6f26804c0fcf2f009e7b3a30c9c6370cae8e436
parent994a7c3beb2fb2fe9f98426529fd45f3d47391d6
Make doprnt and related functions ANSI C compliant, with prototypes.

* doprnt.c (doprnt): Take a va_list argument instead of count and
pointer.
* eval.c (error): Change to a standard-C variadic function.
* xdisp.c (vmessage): Renamed from message, made static, and
changed to take a va_list argument.
(message): New variadic wrapper.
(message_nolog): Now a variadic function, calling vmessage.
* lisp.h: Include stdarg.h for va_list.
(doprnt, error, message, message_nolog): Decls updated.
src/ChangeLog
src/doprnt.c
src/eval.c
src/lisp.h
src/xdisp.c