Originally from Tormod Volden but I had to fix the DOS mangling of some
of the files to apply them
extern regexp *regcomp(char *);
extern int regexec(regexp *__prog, char *__string);
extern void regsub(regexp *__prog, char *__source, char *__dest);
-extern void regerror(char *);
+extern void regerror(const char *);
#endif
-/* numeric/string conversions package\r
- */ \r
- \r
-#include <stdlib.h>\r
- \r
-/**************************** atoi.c ****************************/ \r
-int atoi(char *str) \r
+/* numeric/string conversions package
+ */
+
+#include <stdlib.h>
+
+/**************************** atoi.c ****************************/
+int atoi(const char *str)
{
return (int) strtol(str, NULL, 10);
-}\r
- \r
+}