summaryrefslogtreecommitdiff
path: root/src/compat/compat.h
diff options
context:
space:
mode:
authorAlberto Gonzalez Iniesta <agi@inittab.org>2016-12-27 18:25:47 +0100
committerAlberto Gonzalez Iniesta <agi@inittab.org>2016-12-27 18:25:47 +0100
commit3a2bbdb05ca6a6996e424c9fb225cb0d53804125 (patch)
treef29063da5bec4caf3853d49a22a09c8619eebd21 /src/compat/compat.h
parentd53dba59e78da865c4fe820386ff2f4f76925f3b (diff)
New upstream version 2.4.0upstream/2.4.0
Diffstat (limited to 'src/compat/compat.h')
-rw-r--r--src/compat/compat.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h
index 021573e..75bfaed 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -42,27 +42,33 @@
#endif
#ifndef HAVE_DIRNAME
-char * dirname(char *str);
+char *dirname(char *str);
+
#endif /* HAVE_DIRNAME */
#ifndef HAVE_BASENAME
-char * basename(char *str);
+char *basename(char *str);
+
#endif /* HAVE_BASENAME */
#ifndef HAVE_GETTIMEOFDAY
-int gettimeofday (struct timeval *tv, void *tz);
+int gettimeofday(struct timeval *tv, void *tz);
+
#endif
#ifndef HAVE_DAEMON
int daemon(int nochdir, int noclose);
+
#endif
#ifndef HAVE_INET_NTOP
-const char * inet_ntop(int af, const void *src, char *dst, socklen_t size);
+const char *inet_ntop(int af, const void *src, char *dst, socklen_t size);
+
#endif
#ifndef HAVE_INET_PTON
int inet_pton(int af, const char *src, void *dst);
+
#endif
#endif /* COMPAT_H */