texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

texinfo/util install-info.c,1.2,1.3


From: karl
Subject: texinfo/util install-info.c,1.2,1.3
Date: Thu, 18 Mar 2004 23:15:40 +0100

Update of /cvsroot/texinfo/texinfo/util
In directory sheep:/tmp/cvs-serv12729

Modified Files:
        install-info.c 
Log Message:
add some const declarations.


Index: install-info.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/util/install-info.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** install-info.c      17 Feb 2004 16:59:46 -0000      1.2
--- install-info.c      18 Mar 2004 22:15:38 -0000      1.3
***************
*** 141,145 ****
  /* VARARGS1 */
  void
! error (char *s1, char *s2, char *s3)
  {
    fprintf (stderr, "%s: ", progname);
--- 141,145 ----
  /* VARARGS1 */
  void
! error (const char *s1, const char *s2, const char *s3)
  {
    fprintf (stderr, "%s: ", progname);
***************
*** 150,154 ****
  /* VARARGS1 */
  void
! warning (char *s1, char *s2, char *s3)
  {
    fprintf (stderr, _("%s: warning: "), progname);
--- 150,154 ----
  /* VARARGS1 */
  void
! warning (const char *s1, const char *s2, const char *s3)
  {
    fprintf (stderr, _("%s: warning: "), progname);
***************
*** 160,164 ****
  
  void
! fatal (char *s1, char *s2, char *s3)
  {
    error (s1, s2, s3);
--- 160,164 ----
  
  void
! fatal (const char *s1, const char *s2, const char *s3)
  {
    error (s1, s2, s3);
***************
*** 169,173 ****
     whose contents concatenate those of S1, S2, S3.  */
  char *
! concat (char *s1, char *s2, char *s3)
  {
    int len1 = strlen (s1), len2 = strlen (s2), len3 = strlen (s3);
--- 169,173 ----
     whose contents concatenate those of S1, S2, S3.  */
  char *
! concat (const char *s1, const char *s2, const char *s3)
  {
    int len1 = strlen (s1), len2 = strlen (s2), len3 = strlen (s3);
***************
*** 186,190 ****
  
  char *
! copy_string (char *string, int size)
  {
    int i;
--- 186,190 ----
  
  char *
! copy_string (const char *string, int size)
  {
    int i;
***************
*** 199,203 ****
  
  void
! pfatal_with_name (char *name)
  {
    char *s = concat ("", strerror (errno), _(" for %s"));
--- 199,203 ----
  
  void
! pfatal_with_name (const char *name)
  {
    char *s = concat ("", strerror (errno), _(" for %s"));



reply via email to

[Prev in Thread] Current Thread [Next in Thread]