Changeset 08c2d6 in git for kernel/fegetopt.c


Ignore:
Timestamp:
Jun 21, 2009, 4:10:58 PM (15 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
d5042e24b7e01b5dc02ef718e5a3e8ec3f3187e1
Parents:
03057341d897afb7daf5d8d5346c88a961df4184
Message:
*hannes: gcc 4.4


git-svn-id: file:///usr/local/Singular/svn/trunk@11914 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/fegetopt.c

    r030573 r08c2d6  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: fegetopt.c,v 1.1.1.1 2003-10-06 12:15:52 Singular Exp $ */
     4/* $Id: fegetopt.c,v 1.2 2009-06-21 14:10:58 Singular Exp $ */
    55
    66/* Getopt for GNU.
     
    183183
    184184static int my_strlen(const char *s);
    185 static char *my_index (const char *str, int chr);
     185static const char *my_index (const char *str, int chr);
    186186#else
    187187extern char *getenv ();
     
    196196}
    197197
    198 static char * my_index (const char *str, int chr)
     198static const char * my_index (const char *str, int chr)
    199199{
    200200  while (*str)
    201201    {
    202202      if (*str == chr)
    203         return (char *) str;
     203        return (const char *) str;
    204204      str++;
    205205    }
Note: See TracChangeset for help on using the changeset viewer.