Files
nethack/sys/amiga/amidos.p
keni 6692b3a984 (keni, for jhsa)
here are two minor patches for amigaport (ppc/gcc related, compiletime).
Teemu noticed these during a testcompile for 341 tarball today.

-jhsa

*** sys/amiga/amidos.p	2003/02/20 15:36:28	1.1
--- sys/amiga/amidos.p	2003/02/20 14:30:12
***************
*** 37,42 ****
  #ifndef	strcmpi
  int FDECL(strcmpi, (char * , char *));
  #endif
! #if !defined(memcmp) && !defined(AZTEC_C) && !defined(_DCC)
  int FDECL(memcmp, (unsigned char * , unsigned char * , int ));
  #endif
--- 37,42 ----
  #ifndef	strcmpi
  int FDECL(strcmpi, (char * , char *));
  #endif
! #if !defined(memcmp) && !defined(AZTEC_C) && !defined(_DCC) && !defined(__GNUC__)
  int FDECL(memcmp, (unsigned char * , unsigned char * , int ));
  #endif
*** sys/amiga/amiwind.c	2000/11/30 16:39:25	1.3
--- sys/amiga/amiwind.c	2003/02/20 14:31:06
***************
*** 21,31 ****

  #define BufferQueueChar(ch) (KbdBuffer[KbdBuffered++] = (ch))

- #ifdef __GNUC__ /* Conflicting includefiles ... */
- struct Device *ConsoleDevice;
- #else
  struct Library *ConsoleDevice;
- #endif

  #include "NH:sys/amiga/amimenu.c"

--- 21,27 ----
2003-02-20 16:36:02 +00:00

43 lines
1.1 KiB
OpenEdge ABL

/* SCCS Id: @(#)amidos.p 3.1 93/01/08
/* Copyright (c) Kenneth Lorber, Bethesda, Maryland, 1992, 1993. */
/* NetHack may be freely redistributed. See license for details. */
/* amidos.c */
void NDECL(flushout );
#ifndef getuid
int NDECL(getuid );
#endif
#ifndef getpid
int NDECL(getpid );
#endif
#ifndef getlogin
char *NDECL(getlogin );
#endif
#ifndef abs
int FDECL(abs, (int ));
#endif
int NDECL(tgetch );
int NDECL(dosh );
long FDECL(freediskspace, (char *));
long FDECL(filesize, (char *));
void FDECL(eraseall, (const char * , const char *));
char *FDECL(CopyFile, (const char * , const char *));
void FDECL(copybones, (int ));
void NDECL(playwoRAMdisk );
int FDECL(saveDiskPrompt, (int ));
void NDECL(gameDiskPrompt );
void FDECL(append_slash, (char *));
void FDECL(getreturn, (const char *));
#ifndef msmsg
void FDECL(msmsg, ( const char *, ... ));
#endif
#if !defined(__SASC_60) && !defined(_DCC)
int FDECL(chdir, (char *));
#endif
#ifndef strcmpi
int FDECL(strcmpi, (char * , char *));
#endif
#if !defined(memcmp) && !defined(AZTEC_C) && !defined(_DCC) && !defined(__GNUC__)
int FDECL(memcmp, (unsigned char * , unsigned char * , int ));
#endif