/* Synched up with: FSF 19.28. */
#define NO_SHORTNAMES
-#include <../src/config.h>
+#include <config.h>
#if defined (BSD) && !defined (BSD4_1) && !defined (USE_FAKEMAIL)
/* This program is not used in BSD, so just avoid loader complaints. */
extern unsigned short geteuid ();
static struct passwd *my_entry;
#define cuserid(s) \
-(my_entry = getpwuid (((int) geteuid ())), \
+(my_entry = getpwuid ((int) geteuid ()), \
my_entry->pw_name)
#endif
\f
static char *
xmalloc (size_t size)
{
- char *result = malloc (((unsigned) size));
+ char *result = (char *) malloc (size);
if (result == ((char *) NULL))
fatal ("virtual memory exhausted", (char *) 0);
return result;
register int size;
FILE *the_pipe;
-#if !(__STDC__ || defined(STDC_HEADERS))
- extern char *getenv ();
-#endif
-
mail_program_name = getenv ("FAKEMAILER");
if (!(mail_program_name && *mail_program_name))
mail_program_name = (char *) MAIL_PROGRAM_NAME;