Fix prototypes.

* src/cm.c (evalcost): Fix arg type.
* src/cm.h (evalcost): Fix prototype.
* src/lisp.h (memory_warnings): Fix prototype.

* lib-src/ebrowse.c (match_qualified_namespace_alias):
  Pass sym* to find_namespace, not link*.
* lib-src/emacsclient.c (send_to_emacs, quote_argument): Arg s is HSOCKET.
* lib-src/sorted-doc.c (qsort_compare): New typedef.
  (main): Use it to cast cmpdoc.
This commit is contained in:
Juanma Barranquero 2010-07-03 09:44:17 +02:00
parent fe0aa82076
commit 3a35a84c93
8 changed files with 29 additions and 8 deletions

View file

@ -764,7 +764,7 @@ sock_err_message (char *function_name)
- the buffer is full (but this shouldn't happen)
Otherwise, we just accumulate it. */
void
send_to_emacs (int s, char *data)
send_to_emacs (HSOCKET s, char *data)
{
while (data)
{
@ -801,9 +801,9 @@ send_to_emacs (int s, char *data)
any initial -. Change spaces to underscores, too, so that the
return value never contains a space.
Does not change the string. Outputs the result to STREAM. */
Does not change the string. Outputs the result to S. */
void
quote_argument (int s, char *str)
quote_argument (HSOCKET s, char *str)
{
char *copy = (char *) xmalloc (strlen (str) * 2 + 1);
char *p, *q;