Changeset 08c2d6 in git for kernel/fegetopt.c
- Timestamp:
- Jun 21, 2009, 4:10:58 PM (14 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- d5042e24b7e01b5dc02ef718e5a3e8ec3f3187e1
- Parents:
- 03057341d897afb7daf5d8d5346c88a961df4184
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/fegetopt.c
r030573 r08c2d6 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: fegetopt.c,v 1. 1.1.1 2003-10-06 12:15:52Singular Exp $ */4 /* $Id: fegetopt.c,v 1.2 2009-06-21 14:10:58 Singular Exp $ */ 5 5 6 6 /* Getopt for GNU. … … 183 183 184 184 static int my_strlen(const char *s); 185 static c har *my_index (const char *str, int chr);185 static const char *my_index (const char *str, int chr); 186 186 #else 187 187 extern char *getenv (); … … 196 196 } 197 197 198 static c har * my_index (const char *str, int chr)198 static const char * my_index (const char *str, int chr) 199 199 { 200 200 while (*str) 201 201 { 202 202 if (*str == chr) 203 return (c har *) str;203 return (const char *) str; 204 204 str++; 205 205 }
Note: See TracChangeset
for help on using the changeset viewer.