projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add some news.
[pspp]
/
src
/
str.c
diff --git
a/src/str.c
b/src/str.c
index 081ffea5a74d36290c05450b3d5e52e04cd8fa90..eaa9cdff9fd6f6eac8871ffaa964899900e67fee 100644
(file)
--- a/
src/str.c
+++ b/
src/str.c
@@
-1,5
+1,5
@@
/* PSPP - computes sample statistics.
/* PSPP - computes sample statistics.
- Copyright (C) 1997-9, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1997-9, 2000
, 2006
Free Software Foundation, Inc.
Written by Ben Pfaff <blp@gnu.org>.
This program is free software; you can redistribute it and/or
Written by Ben Pfaff <blp@gnu.org>.
This program is free software; you can redistribute it and/or
@@
-270,6
+270,14
@@
str_uppercase (char *s)
for (; *s != '\0'; s++)
*s = toupper ((unsigned char) *s);
}
for (; *s != '\0'; s++)
*s = toupper ((unsigned char) *s);
}
+
+/* Converts each character in S to lowercase. */
+void
+str_lowercase (char *s)
+{
+ for (; *s != '\0'; s++)
+ *s = tolower ((unsigned char) *s);
+}
\f
/* Initializes ST with initial contents S. */
void
\f
/* Initializes ST with initial contents S. */
void