HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge from emacs-24; up to 2013-01-03T02:37:57Z!rgm@gnu.org
[bpt/emacs.git]
/
lib-src
/
make-docfile.c
diff --git
a/lib-src/make-docfile.c
b/lib-src/make-docfile.c
index
68e5279
..
36eb71c
100644
(file)
--- a/
lib-src/make-docfile.c
+++ b/
lib-src/make-docfile.c
@@
-276,7
+276,7
@@
struct rcsoc_state
/* Output CH to the file or buffer in STATE. Any pending newlines or
spaces are output first. */
/* Output CH to the file or buffer in STATE. Any pending newlines or
spaces are output first. */
-static
inline
void
+static void
put_char (int ch, struct rcsoc_state *state)
{
int out_ch;
put_char (int ch, struct rcsoc_state *state)
{
int out_ch;
@@
-555,7
+555,7
@@
enum global_type
LISP_OBJECT,
EMACS_INTEGER,
BOOLEAN,
LISP_OBJECT,
EMACS_INTEGER,
BOOLEAN,
- FUNCTION
,
+ FUNCTION
};
/* A single global. */
};
/* A single global. */
@@
-1075,7
+1075,7
@@
read_lisp_symbol (FILE *infile, char *buffer)
static int
search_lisp_doc_at_eol (FILE *infile)
{
static int
search_lisp_doc_at_eol (FILE *infile)
{
-
char
c = 0, c1 = 0, c2 = 0;
+
int
c = 0, c1 = 0, c2 = 0;
/* Skip until the end of line; remember two previous chars. */
while (c != '\n' && c != '\r' && c != EOF)
/* Skip until the end of line; remember two previous chars. */
while (c != '\n' && c != '\r' && c != EOF)
@@
-1090,8
+1090,7
@@
search_lisp_doc_at_eol (FILE *infile)
if (c2 != '"' || c1 != '\\')
{
#ifdef DEBUG
if (c2 != '"' || c1 != '\\')
{
#ifdef DEBUG
- fprintf (stderr, "## non-docstring in %s (%s)\n",
- buffer, filename);
+ fprintf (stderr, "## non-docstring found\n");
#endif
if (c != EOF)
ungetc (c, infile);
#endif
if (c != EOF)
ungetc (c, infile);