[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/util texindex.c,1.2,1.3
From: |
karl |
Subject: |
texinfo/util texindex.c,1.2,1.3 |
Date: |
Thu, 18 Mar 2004 23:26:56 +0100 |
Update of /cvsroot/texinfo/texinfo/util
In directory sheep:/tmp/cvs-serv13204
Modified Files:
texindex.c
Log Message:
add some const declarations.
Index: texindex.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/util/texindex.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** texindex.c 17 Feb 2004 16:59:46 -0000 1.2
--- texindex.c 18 Mar 2004 22:26:53 -0000 1.3
***************
*** 141,147 ****
int merge_files (char **infiles, int nfiles, char *outfile);
int merge_direct (char **infiles, int nfiles, char *outfile);
! void pfatal_with_name (char *name);
! void fatal (char *format, char *arg);
! void error (char *format, char *arg);
void *xmalloc (), *xrealloc ();
char *concat (char *s1, char *s2);
--- 141,147 ----
int merge_files (char **infiles, int nfiles, char *outfile);
int merge_direct (char **infiles, int nfiles, char *outfile);
! void pfatal_with_name (const char *name);
! void fatal (const char *format, const char *arg);
! void error (const char *format, const char *arg);
void *xmalloc (), *xrealloc ();
char *concat (char *s1, char *s2);
***************
*** 1582,1586 ****
void
! fatal (char *format, char *arg)
{
error (format, arg);
--- 1582,1586 ----
void
! fatal (const char *format, const char *arg)
{
error (format, arg);
***************
*** 1590,1594 ****
/* Print error message. FORMAT is printf control string, ARG is arg for it.
*/
void
! error (char *format, char *arg)
{
printf ("%s: ", program_name);
--- 1590,1594 ----
/* Print error message. FORMAT is printf control string, ARG is arg for it.
*/
void
! error (const char *format, const char *arg)
{
printf ("%s: ", program_name);
***************
*** 1599,1603 ****
void
! perror_with_name (char *name)
{
fprintf (stderr, "%s: ", program_name);
--- 1599,1603 ----
void
! perror_with_name (const char *name)
{
fprintf (stderr, "%s: ", program_name);
***************
*** 1606,1610 ****
void
! pfatal_with_name (char *name)
{
perror_with_name (name);
--- 1606,1610 ----
void
! pfatal_with_name (const char *name)
{
perror_with_name (name);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- texinfo/util texindex.c,1.2,1.3,
karl <=