euthanise {get,set}_progname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14303 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1995 - 2001 Kungliga Tekniska H<>gskolan
|
||||
* Copyright (c) 1995-2004 Kungliga Tekniska H<>gskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -49,10 +49,3 @@ getprogname(void)
|
||||
return __progname;
|
||||
}
|
||||
#endif /* HAVE_GETPROGNAME */
|
||||
|
||||
const char *
|
||||
get_progname (void)
|
||||
{
|
||||
return getprogname ();
|
||||
}
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/* -*- C -*- */
|
||||
/*
|
||||
* Copyright (c) 1995 - 2002 Kungliga Tekniska H<>gskolan
|
||||
* Copyright (c) 1995-2004 Kungliga Tekniska H<>gskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -636,9 +636,6 @@ extern const char *__progname;
|
||||
void mini_inetd_addrinfo (struct addrinfo*);
|
||||
void mini_inetd (int port);
|
||||
|
||||
void set_progname(char *argv0);
|
||||
const char *get_progname(void);
|
||||
|
||||
#ifndef HAVE_LOCALTIME_R
|
||||
struct tm *
|
||||
localtime_r(const time_t *timer, struct tm *result);
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1995 - 2001 Kungliga Tekniska H<>gskolan
|
||||
* Copyright (c) 1995-2004 Kungliga Tekniska H<>gskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -59,9 +59,3 @@ setprogname(const char *argv0)
|
||||
#endif
|
||||
}
|
||||
#endif /* HAVE_SETPROGNAME */
|
||||
|
||||
void
|
||||
set_progname(char *argv0)
|
||||
{
|
||||
setprogname ((const char *)argv0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user