sed: fix C++ style declaration
char *pattern_space, *next_line;
int linenum = 0, prev_last_char = 0;
int last_char, next_last_char = 0;
+ sed_cmd_t *sed_cmd;
+ int substituted;
/* Prime the pump */
next_line = get_next_line(&next_last_char);
/* go through every line in each file */
again:
-
- sed_cmd_t *sed_cmd;
- int substituted = 0;
+ substituted = 0;
/* Advance to next line. Stop if out of lines. */
pattern_space = next_line;
*/
/* We do not include libbb.h - #define makedev() is there! */
+#include <features.h>
#include <sys/sysmacros.h>
#ifdef __GLIBC__
#include <time.h>
typedef unsigned long long ullong;
-typedef unsigned long ulong;
enum { proc_file_size = 4096 };