Soft'N'Design Software
/
projects
/
compress.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94f2bc5
)
update atoi
author
Laurent Mazet
<mazet@softndesign.org>
Sun, 22 Jan 2023 08:21:07 +0000
(09:21 +0100)
committer
Laurent Mazet
<mazet@softndesign.org>
Sun, 22 Jan 2023 08:21:07 +0000
(09:21 +0100)
atoi.c
patch
|
blob
|
blame
|
history
diff --git
a/atoi.c
b/atoi.c
index 554702086f1139d9787efeb680de4bd182998871..50ec270e617189ed81e267c5814297ff95cfd247 100644
(file)
--- a/
atoi.c
+++ b/
atoi.c
@@
-7,7
+7,7
@@
int atoi (char *str)
if (*str == '-') {
s = 0;
- str++;
+
str++;
}
while (*str != 0) {
@@
-20,4
+20,4
@@
int atoi (char *str)
return (s) ? i : -i;
}
-/* vim: set ts=4 sw=4 et */
+/* vim: set ts=4 sw=4 et
:
*/