* resolved a couple of redundant function declaration in our public headers
* adjusted zipomatic accordingly - everything else built fine

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31938 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe 2009-07-29 19:45:09 +00:00
parent 64b145930e
commit 31a41b605d
5 changed files with 3 additions and 11 deletions

View File

@ -174,8 +174,6 @@ int sighold(int signo);
int sigrelse(int signo);
int sigpause(int signo);
const char *strsignal(int sig);
void set_signal_stack(void *ptr, size_t size);
int sigaltstack(const stack_t *ss, stack_t *oss);

View File

@ -135,8 +135,6 @@ extern int fgetc(FILE *stream);
extern char *gets(char *buffer);
extern char *fgets(char *string, int stringLength, FILE *stream);
extern char *fgetln(FILE *stream, size_t *);
/* formatted I/O */
extern int printf(char const *format, ...) __PRINTFLIKE(1,2);
extern int fprintf(FILE *stream, char const *format, ...) __PRINTFLIKE(2,3);

View File

@ -60,7 +60,6 @@ extern void exit(int);
/* misc functions */
extern char *realpath(const char *path, char *resolved);
extern int daemon(int nochdir, int noclose);
extern int system(const char *command);
extern char *mktemp(char *name);

View File

@ -190,7 +190,6 @@ extern unsigned int alarm(unsigned int seconds);
extern useconds_t ualarm(useconds_t microSeconds, useconds_t interval);
extern unsigned int sleep(unsigned int seconds);
extern int usleep(unsigned int microSeconds);
extern clock_t clock(void);
extern int pause(void);
/* process */
@ -206,7 +205,7 @@ extern pid_t setpgrp(void);
extern int chroot(const char *path);
/* access permissions */
/* access permissions */
extern gid_t getegid(void);
extern uid_t geteuid(void);
extern gid_t getgid(void);
@ -247,9 +246,6 @@ extern void swab(const void *src, void *dest, ssize_t nbytes);
extern char *optarg;
extern int optind, opterr, optopt;
/* ToDo: should be moved to stdlib.h */
extern char **environ;
#ifdef __cplusplus
}
#endif

View File

@ -10,6 +10,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <Message.h>
#include <Messenger.h>
@ -41,7 +42,7 @@ protected:
private:
void _MakeShellSafe(BString* string);
thread_id _PipeCommand(int argc, const char** argv,
thread_id _PipeCommand(int argc, const char** argv,
int& in, int& out, int& err,
const char** envp = (const char**)environ);