Fix large-file macro usage in bits/statvfs.h
[kopensolaris-gnu/glibc.git] / libio / Versions
index 12277ae..e7a96da 100644 (file)
@@ -43,55 +43,51 @@ libc {
     # variables in normal name space
     stderr; stdin; stdout;
 
-    # a*
-    asprintf;
-
     # c*
     clearerr; clearerr_unlocked;
 
-    # d*
-    dprintf;
-
     # f*
     fclose; fcloseall; fdopen; feof; feof_locked; feof_unlocked; ferror;
     ferror_locked; ferror_unlocked; fflush; fflush_locked; fflush_unlocked;
-    fgetc; fgetpos; fgets; fileno; fileno_locked; fileno_unlocked; flockfile;
-    fopen; fopencookie; fprintf; fputc; fputc_locked; fputc_unlocked; fputs;
-    fread; freopen; fscanf; fseek; fsetpos; ftell; ftrylockfile; funlockfile;
-    fwrite;
+    fgetc; fgetpos; fgets; fileno; fileno_locked; fileno_unlocked;
+    fopen; fopencookie; fputc; fputc_locked; fputc_unlocked; fputs;
+    fread; freopen; fseek; fsetpos; ftell; fwrite;
 
     # g*
     getc; getc_locked; getc_unlocked; getchar; getchar_unlocked; getdelim;
-    getline; gets; getw;
+    gets;
 
     # o*
-    obstack_printf; obstack_vprintf; open_memstream;
+    open_memstream; open_obstack_stream; obstack_printf; obstack_vprintf;
 
     # p*
-    pclose; popen; printf; putc; putc_locked; putc_unlocked; putchar;
+    pclose; popen; putc; putc_locked; putc_unlocked; putchar;
     putchar_unlocked; puts;
 
-    # p*
-    putw; rewind;
-
-    # s*
-    scanf; setbuf; setbuffer; setlinebuf;
+    # r*
+    rewind;
 
     # s*
-    setvbuf; snprintf; sprintf; sscanf;
+    setbuf; setbuffer; setlinebuf; setvbuf;
 
     # u*
     ungetc;
 
     # v*
-    vasprintf; vdprintf; vprintf; vscanf; vsnprintf; vsprintf; vsscanf;
+    vasprintf; vdprintf; vscanf; vsnprintf; vsprintf; vsscanf;
   }
   GLIBC_2.1 {
     # global variables
     _IO_2_1_stdin_; _IO_2_1_stdout_; _IO_2_1_stderr_;
 
     # functions used in other libraries
-    _IO_fclose; _IO_fopen; _IO_fdopen; __asprintf;
+    _IO_fclose; _IO_fopen; _IO_fdopen; _IO_popen; __asprintf;
+
+    # functions used in libstdc++
+    _IO_do_write; _IO_file_attach; _IO_file_close_it; _IO_file_finish;
+    _IO_file_fopen; _IO_file_init; _IO_file_overflow; _IO_file_seekoff;
+    _IO_file_setbuf; _IO_file_sync; _IO_file_underflow;
+    _IO_file_write; _IO_file_xsputn; _IO_proc_open; _IO_proc_close;
 
     # Changed getline function in libio.
     _IO_getline_info;
@@ -99,5 +95,61 @@ libc {
     # f*
     fgetpos64; fopen64; freopen64; fseeko; fseeko64; fsetpos64; ftello;
     ftello64; fopen; fclose; fdopen; fread_unlocked; fwrite_unlocked;
+    fgets_unlocked; fputs_unlocked; fgetc_unlocked;
+
+    # p*
+    pclose; popen;
+  }
+  GLIBC_2.2 {
+    # functions used in libstdc++
+    _IO_fgetpos; _IO_fgetpos64; _IO_fsetpos; _IO_fsetpos64;
+    _IO_wdo_write; _IO_wfile_jumps; _IO_wfile_overflow; _IO_wfile_seekoff;
+    _IO_wfile_setbuf; _IO_wfile_sync; _IO_wfile_underflow; _IO_wfile_xsputn;
+    _IO_adjust_wcolumn; _IO_free_wbackup_area; _IO_init_wmarker;
+    _IO_least_wmarker; _IO_seekwmark; _IO_sputbackwc; _IO_sungetwc;
+    _IO_switch_to_main_wget_area; _IO_switch_to_wbackup_area;
+    _IO_switch_to_wget_mode; _IO_unsave_wmarkers; _IO_wdefault_doallocate;
+    _IO_wdefault_finish; _IO_wdefault_pbackfail; _IO_wdefault_setbuf;
+    _IO_wdefault_uflow; _IO_wdefault_xsgetn; _IO_wdefault_xsputn;
+    _IO_wdoallocbuf; _IO_wmarker_delta; _IO_wsetb; __woverflow; __wuflow;
+    __wunderflow;
+
+    # LinuxThreads uses this protected interface
+    _IO_iter_begin; _IO_iter_end; _IO_iter_next; _IO_iter_file;
+    _IO_list_lock; _IO_list_unlock; _IO_list_resetlock;
+
+    # Functions to access FILE internals.
+    __fbufsize; __freading; __fwriting; __freadable; __fwritable; __flbf;
+    __fpurge; __fpending; __fsetlocking; _flushlbf;
+
+    # f*
+    fgetpos; fgetpos64; fgetwc; fgetwc_unlocked; fgetws; fgetws_unlocked;
+    fputwc; fputwc_unlocked; fputws; fputws_unlocked; fsetpos; fsetpos64;
+    fwide; fwprintf; fwscanf; fopencookie; fmemopen;
+
+    # g*
+    getwc; getwc_unlocked; getwchar; getwchar_unlocked;
+
+    # p*
+    putwc; putwc_unlocked; putwchar; putwchar_unlocked;
+
+    # s*
+    swprintf; swscanf;
+
+    # u*
+    ungetwc;
+
+    # v*
+    vfwprintf; vswprintf; vwprintf; vfwscanf; vswscanf; vwscanf;
+
+    # w*
+    wprintf; wscanf;
+  }
+  GLIBC_2.4 {
+    open_wmemstream;
+  }
+  GLIBC_PRIVATE {
+    # Used by NPTL and librt
+    __libc_fatal;
   }
 }