Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
0de40240
Commit
0de40240
authored
Aug 31, 2001
by
Martin Pool
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If we're using built-in *printf functions, then provide prototypes.
parent
d79c77ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
rsync.h
rsync.h
+20
-0
No files found.
rsync.h
View file @
0de40240
...
...
@@ -18,6 +18,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#define False 0
#define True 1
...
...
@@ -390,6 +391,25 @@ static inline int flist_up(struct file_list *flist, int i)
#include "proto.h"
#include "lib/mdfour.h"
/* We have replacement versions of these if they're missing. */
#ifndef HAVE_ASPRINTF
int
asprintf
(
char
**
ptr
,
const
char
*
format
,
...);
#endif
#ifndef HAVE_VASPRINTF
int
vasprintf
(
char
**
ptr
,
const
char
*
format
,
va_list
ap
);
#endif
#if !defined(HAVE_VSNPRINTF) || !defined(HAVE_C99_VSNPRINTF)
int
vsnprintf
(
char
*
str
,
size_t
count
,
const
char
*
fmt
,
va_list
args
);
#endif
#if !defined(HAVE_SNPRINTF) || !defined(HAVE_C99_VSNPRINTF)
int
snprintf
(
char
*
str
,
size_t
count
,
const
char
*
fmt
,...);
#endif
#if !HAVE_STRERROR
extern
char
*
sys_errlist
[];
#define strerror(i) sys_errlist[i]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment