mirror of
https://github.com/adulau/dcfldd.git
synced 2024-12-22 08:45:59 +00:00
From Debian fix-implicit-declarations.patch
This commit is contained in:
parent
388c7ffe3b
commit
2dfdcc637c
5 changed files with 10 additions and 1 deletions
2
hash.h
2
hash.h
|
@ -99,6 +99,8 @@ extern void hash_update(hashlist_t *, void *, size_t);
|
|||
extern void hash_update_buf(hashlist_t *, int, int, void *, size_t);
|
||||
extern void hash_remainder(hashlist_t *, int);
|
||||
|
||||
extern void init_hashlist(hashlist_t **hashlist, hashflag_t flags);
|
||||
|
||||
/* inner hashl_* funcitons are for iterating over hashlists */
|
||||
extern void hashl_init(hashlist_t *, int);
|
||||
extern void hashl_update(hashlist_t *, int, const void *, size_t);
|
||||
|
|
3
split.c
3
split.c
|
@ -20,6 +20,9 @@
|
|||
|
||||
/* GNU dd originally written by Paul Rubin, David MacKenzie, and Stuart Kemp. */
|
||||
|
||||
#define _GNU_SOURCE 1
|
||||
#include <stdio.h>
|
||||
|
||||
#include "dcfldd.h"
|
||||
#include "split.h"
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
#include "dcfldd.h"
|
||||
#include "log.h"
|
||||
#include "util.h"
|
||||
|
||||
/* Output representation of newline and space characters.
|
||||
They change if we're converting to EBCDIC. */
|
||||
|
|
3
util.c
3
util.c
|
@ -32,6 +32,7 @@
|
|||
|
||||
#include "dcfldd.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -40,6 +41,8 @@
|
|||
#include "config.h"
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <error.h>
|
||||
#include "safe-read.h"
|
||||
|
||||
int buggy_lseek_support(int fdesc)
|
||||
{
|
||||
|
|
2
util.h
2
util.h
|
@ -41,7 +41,7 @@ extern void time_left(char *, size_t, int);
|
|||
extern int bit_count(register unsigned int);
|
||||
extern void replace_escapes(char *);
|
||||
extern FILE *popen2(const char *, const char *);
|
||||
extern pclose2(FILE *);
|
||||
extern int pclose2(FILE *);
|
||||
|
||||
#if (!HAVE_DECL_STRNDUP)
|
||||
extern char *strndup(const char *, size_t);
|
||||
|
|
Loading…
Reference in a new issue