summary refs log tree commit diff
path: root/libio/iogetline.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iogetline.c')
-rw-r--r--libio/iogetline.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/libio/iogetline.c b/libio/iogetline.c
index deeefb6bc4..f097f80023 100644
--- a/libio/iogetline.c
+++ b/libio/iogetline.c
@@ -1,5 +1,4 @@
-/* Copyright (C) 1993,1997,1998,2000,2001,2002,2005
-   Free Software Foundation, Inc.
+/* Copyright (C) 1993-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -38,10 +37,9 @@ _IO_getline (fp, buf, n, delim, extract_delim)
      int delim;
      int extract_delim;
 {
-  return INTUSE(_IO_getline_info) (fp, buf, n, delim, extract_delim,
-				   (int *) 0);
+  return _IO_getline_info (fp, buf, n, delim, extract_delim, (int *) 0);
 }
-INTDEF(_IO_getline)
+libc_hidden_def (_IO_getline)
 
 /* Algorithm based on that used by Berkeley pre-4.4 fgets implementation.
 
@@ -82,7 +80,7 @@ _IO_getline_info (fp, buf, n, delim, extract_delim, eof)
  	      if (extract_delim > 0)
 		*ptr++ = c;
 	      else if (extract_delim < 0)
-		INTUSE(_IO_sputbackc) (fp, c);
+		_IO_sputbackc (fp, c);
 	      if (extract_delim > 0)
 		++len;
 	      return ptr - buf;
@@ -118,6 +116,6 @@ _IO_getline_info (fp, buf, n, delim, extract_delim, eof)
     }
   return ptr - buf;
 }
-INTDEF(_IO_getline_info)
+libc_hidden_def (_IO_getline_info)
 
 #endif /* Defined _LIBC || !_G_HAVE_IO_GETLINE_INFO */