author | llornkcor <llornkcor> | 2002-10-31 20:33:18 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-10-31 20:33:18 (UTC) |
commit | 88310c7207b84c79dbb11ab3c3afeded1874c10b (patch) (unidiff) | |
tree | 6933dd40e2333854523e25edbefdf00b78145300 | |
parent | 73b03f932dd43d684e67db1837bf506ee015f2eb (diff) | |
download | opie-88310c7207b84c79dbb11ab3c3afeded1874c10b.zip opie-88310c7207b84c79dbb11ab3c3afeded1874c10b.tar.gz opie-88310c7207b84c79dbb11ab3c3afeded1874c10b.tar.bz2 |
fix
-rw-r--r-- | noncore/todayplugins/stockticker/libstocks/csv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/todayplugins/stockticker/libstocks/csv.c b/noncore/todayplugins/stockticker/libstocks/csv.c index 27bcce6..f45af52 100644 --- a/noncore/todayplugins/stockticker/libstocks/csv.c +++ b/noncore/todayplugins/stockticker/libstocks/csv.c | |||
@@ -1,54 +1,54 @@ | |||
1 | /* libstocks - Library to get current stock quotes from Yahoo Finance | 1 | /* libstocks - Library to get current stock quotes from Yahoo Finance |
2 | * | 2 | * |
3 | * Copyright (C) 2000 Eric Laeuffer | 3 | * Copyright (C) 2000 Eric Laeuffer |
4 | * | 4 | * |
5 | * This library is free software; you can redistribute it and/or | 5 | * This library is free software; you can redistribute it and/or |
6 | * modify it under the terms of the GNU Library General Public | 6 | * modify it under the terms of the GNU Library General Public |
7 | * License as published by the Free Software Foundation; either | 7 | * License as published by the Free Software Foundation; either |
8 | * version 2 of the License, or (at your option) any later version. | 8 | * version 2 of the License, or (at your option) any later version. |
9 | * | 9 | * |
10 | * This library is distributed in the hope that it will be useful, | 10 | * This library is distributed in the hope that it will be useful, |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | * Library General Public License for more details. | 13 | * Library General Public License for more details. |
14 | * | 14 | * |
15 | * You should have received a copy of the GNU Library General Public | 15 | * You should have received a copy of the GNU Library General Public |
16 | * License along with this library; if not, write to the | 16 | * License along with this library; if not, write to the |
17 | * Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 17 | * Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
18 | * Boston, MA 02111-1307, USA. | 18 | * Boston, MA 02111-1307, USA. |
19 | */ | 19 | */ |
20 | 20 | ||
21 | #define __CSV_C__ | 21 | #define __CSV_C__ |
22 | #ifdef __UNIX__ | 22 | #define __UNIX__ |
23 | 23 | ||
24 | #include <string.h> | 24 | #include <string.h> |
25 | #include <stdlib.h> | 25 | #include <stdlib.h> |
26 | #include <stdio.h> | 26 | #include <stdio.h> |
27 | 27 | ||
28 | #ifdef __WINDOWS__ | 28 | #ifdef __WINDOWS__ |
29 | #include <mbstring.h> | 29 | #include <mbstring.h> |
30 | #endif | 30 | #endif |
31 | 31 | ||
32 | #include "csv.h" | 32 | #include "csv.h" |
33 | #include "stocks.h" | 33 | #include "stocks.h" |
34 | #include "lists.h" | 34 | #include "lists.h" |
35 | 35 | ||
36 | #define DATE_LENGTH 7 /*YYMMDD*/ | 36 | #define DATE_LENGTH 7 /*YYMMDD*/ |
37 | 37 | ||
38 | const char *months[12]= | 38 | const char *months[12]= |
39 | { | 39 | { |
40 | "Jan", | 40 | "Jan", |
41 | "Feb", | 41 | "Feb", |
42 | "Mar", | 42 | "Mar", |
43 | "Apr", | 43 | "Apr", |
44 | "May", | 44 | "May", |
45 | "Jun", | 45 | "Jun", |
46 | "Jul", | 46 | "Jul", |
47 | "Aug", | 47 | "Aug", |
48 | "Sep", | 48 | "Sep", |
49 | "Oct", | 49 | "Oct", |
50 | "Nov", | 50 | "Nov", |
51 | "Dec" | 51 | "Dec" |
52 | }; | 52 | }; |
53 | 53 | ||
54 | /*****************************************************************************/ | 54 | /*****************************************************************************/ |