Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1
pidentd
pidentd-3.1a25-prototypes.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pidentd-3.1a25-prototypes.diff of Package pidentd
--- plib/aalloc.c +++ plib/aalloc.c @@ -25,6 +25,7 @@ #include "plib/threads.h" #include "plib/aalloc.h" +#include "plib/strl.h" typedef struct aahdr { --- plib/safeio.c +++ plib/safeio.c @@ -23,6 +23,8 @@ #include <math.h> #ifdef HAVE_UNISTD_H #include <unistd.h> +extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, + __off_t __offset); #endif #include <errno.h> #include <fcntl.h> @@ -52,7 +54,7 @@ #include "plib/sockaddr.h" #include "plib/safeio.h" - +#include "plib/strl.h" void s_abort(void) --- plib/server.c +++ plib/server.c @@ -43,7 +43,7 @@ int debug; - +int server_destroy(SERVER *sp); SERVER * server_init(int fd, --- src/k_linux.c +++ src/k_linux.c @@ -95,7 +95,7 @@ unsigned long r_raddr) { long dummy; - char buf[512], *cp; + char buf[512]; unsigned long myladdr, myraddr; int r_lport, r_rport, mylport, myrport; int euid; --- src/main.c +++ src/main.c @@ -22,17 +22,17 @@ #include <unistd.h> #endif #include <signal.h> +#include <grp.h> #include "pidentd.h" #include "plib/petopt.h" -#if defined(HAVE_LIBTHREAD) #if defined(HAVE_PTHREAD_SETCONCURRENCY) # include <pthread.h> +extern int pthread_setconcurrency (int __level) __THROW; #elif defined(HAVE_THR_SETCONCURRENCY) # include <thread.h> #endif -#endif char *argv0 = "identd"; --- src/send.c +++ src/send.c @@ -197,5 +197,5 @@ if (result_syslog_level > -1) syslog(result_syslog_level, "reply to %s: %s", - s_inet_ntox(&cp->rsin, nab, sizeof(nab))); + s_inet_ntox(&cp->rsin, nab, sizeof(nab)), buf); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor