1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s4:heimdal_build: make use of libreplace getprogname() replacement

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Stefan Metzmacher 2018-11-15 19:53:41 +01:00 committed by Andrew Bartlett
parent eea1d4b778
commit 1dc06aaa2d
2 changed files with 5 additions and 8 deletions

View File

@ -57,4 +57,9 @@
#define HAVE_CLOSEFROM 1
#endif
/* lib/replace provides a getprogname */
#ifndef HAVE_GETPROGNAME
#define HAVE_GETPROGNAME 1
#endif
#endif

View File

@ -92,11 +92,3 @@ void setprogname(const char *argv0)
}
#endif /* HAVE_SETPROGNAME */
#ifndef HAVE_GETPROGNAME
/* We don't want to use a getprogname reimplementation */
const char *getprogname(void)
{
return "";
}
#endif /* HAVE_GETPROGNAME */