while ((line[y++] = line[x++]));
}
-static int getline(char *s, int n, apr_file_t *f)
+static int get_line(char *s, int n, apr_file_t *f)
{
register int i = 0;
char ch;
strcpy(realm, argv[2]);
found = 0;
- while (!(getline(line, MAX_STRING_LEN, f))) {
+ while (!(get_line(line, MAX_STRING_LEN, f))) {
if (found || (line[0] == '#') || (!line[0])) {
putline(tfp, line);
continue;
* Get a line of input from the user, not including any terminating
* newline.
*/
-static int getline(char *s, int n, FILE *f)
+static int get_line(char *s, int n, FILE *f)
{
register int i = 0;
char scratch[MAX_STRING_LEN];
fpw = fopen(pwfilename, "r");
- while (! (getline(line, sizeof(line), fpw))) {
+ while (! (get_line(line, sizeof(line), fpw))) {
char *colon;
if ((line[0] == '#') || (line[0] == '\0')) {
#endif
static void cgethost(struct in_addr ipnum, char *string, int check);
-static int getline(char *s, int n);
+static int get_line(char *s, int n);
static void stats(FILE *output);
#ifdef BEOS
* gets a line from stdin
*/
-static int getline (char *s, int n)
+static int get_line (char *s, int n)
{
char *cp;
for (i = 0; i < MAX_ERR + 2; i++)
errors[i] = 0;
- while (getline(line, MAXLINE)) {
+ while (get_line(line, MAXLINE)) {
if (line[0] == '\0')
continue;
entries++;