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
commit79f3537f69e125f19f59c36aa090120a63186a54 (patch)
tree2089a3b7dac990841dbc2e4d9b2f535b82dbb0af /src/compat/compat.h
parentf2137fedb30cb87448eb03b2f288920df6187571 (diff)
parent3a2bbdb05ca6a6996e424c9fb225cb0d53804125 (diff)
Merge tag 'upstream/2.4.0'
Upstream version 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 */