/*****************************************************************************\ * Copyright (c) 2003 Pelle Johansson. * * All rights reserved. * * * * This file is part of the moftpd package. Use and distribution of * * this software is governed by the terms in the file LICENCE, which * * should have come with this package. * \*****************************************************************************/ /* $moftpd: compat.c 1251 2005-03-06 22:24:29Z morth $ */ #include "system.h" #include "compat.h" #ifndef HAVE_GETPROGNAME static const char *progname; const char *getprogname (void) { return progname; } void setprogname (const char *name) { progname = name; } #elif !defined (HAVE_SETPROGNAME) void setprogname (const char *name) { } #endif