fixed warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7936 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -28,8 +28,10 @@
|
||||
#include "libioP.h"
|
||||
#include <stdio.h>
|
||||
|
||||
int __fcloseall(void);
|
||||
|
||||
int
|
||||
__fcloseall ()
|
||||
__fcloseall (void)
|
||||
{
|
||||
/* Close all streams. */
|
||||
return _IO_cleanup ();
|
||||
|
||||
@@ -30,6 +30,8 @@
|
||||
|
||||
#undef getc_unlocked
|
||||
|
||||
int __getc_unlocked(FILE *fp);
|
||||
|
||||
int
|
||||
__getc_unlocked (FILE *fp)
|
||||
{
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
||||
ssize_t __getline(char **lineptr, size_t *n, FILE *stream);
|
||||
|
||||
/** Like getdelim, but always looks for a newline. */
|
||||
|
||||
|
||||
@@ -101,7 +101,7 @@ find_spec (const UCHAR_T *format)
|
||||
#else
|
||||
while (*format != L_('\0') && *format != L_('%'))
|
||||
{
|
||||
int len;
|
||||
// int len;
|
||||
|
||||
/* Remove any hints of a wrong encoding. */
|
||||
// ps->__count = 0;
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
# define __vsnprintf(s, l, f, a) _IO_vsnprintf (s, l, f, a)
|
||||
#endif
|
||||
|
||||
int __snprintf(char *s, size_t maxlen, const char *format, ...);
|
||||
|
||||
/* Write formatted output into S, according to the format
|
||||
string FORMAT, writing no more than MAXLEN characters. */
|
||||
/* VARARGS3 */
|
||||
|
||||
@@ -135,6 +135,10 @@
|
||||
# define uint64_t uintmax_t
|
||||
#endif
|
||||
|
||||
int __path_search(char *tmpl, size_t tmpl_len, const char *dir,
|
||||
const char *pfx, int try_tmpdir);
|
||||
int __gen_tempname(char *tmpl, int kind);
|
||||
|
||||
/* Return nonzero if DIR is an existent directory. */
|
||||
static int
|
||||
direxists(const char *dir)
|
||||
|
||||
Reference in New Issue
Block a user