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:
parent
eea1d4b778
commit
1dc06aaa2d
@ -57,4 +57,9 @@
|
||||
#define HAVE_CLOSEFROM 1
|
||||
#endif
|
||||
|
||||
/* lib/replace provides a getprogname */
|
||||
#ifndef HAVE_GETPROGNAME
|
||||
#define HAVE_GETPROGNAME 1
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user