FDECL, NDECL in outdated
This commit is contained in:
@@ -82,34 +82,34 @@ typedef long off_t;
|
||||
|
||||
/* ### amidos.c ### */
|
||||
|
||||
extern void FDECL(nethack_exit, (int));
|
||||
extern void nethack_exit(int);
|
||||
|
||||
/* ### amiwbench.c ### */
|
||||
|
||||
extern void NDECL(ami_wbench_init);
|
||||
extern void NDECL(ami_wbench_args);
|
||||
extern int FDECL(ami_wbench_getsave, (int));
|
||||
extern void FDECL(ami_wbench_unlink, (char *));
|
||||
extern int FDECL(ami_wbench_iconsize, (char *));
|
||||
extern void FDECL(ami_wbench_iconwrite, (char *));
|
||||
extern int FDECL(ami_wbench_badopt, (const char *));
|
||||
extern void NDECL(ami_wbench_cleanup);
|
||||
extern void FDECL(getlind, (const char *, char *, const char *));
|
||||
extern void ami_wbench_init(void);
|
||||
extern void ami_wbench_args(void);
|
||||
extern int ami_wbench_getsave(int);
|
||||
extern void ami_wbench_unlink(char *);
|
||||
extern int ami_wbench_iconsize(char *);
|
||||
extern void ami_wbench_iconwrite(char *);
|
||||
extern int ami_wbench_badopt(const char *);
|
||||
extern void ami_wbench_cleanup(void);
|
||||
extern void getlind(const char *, char *, const char *);
|
||||
|
||||
/* ### winreq.c ### */
|
||||
|
||||
extern void amii_setpens(int);
|
||||
|
||||
extern void FDECL(exit, (int));
|
||||
extern void NDECL(CleanUp);
|
||||
extern void FDECL(Abort, (long));
|
||||
extern int NDECL(getpid);
|
||||
extern char *FDECL(CopyFile, (const char *, const char *));
|
||||
extern int NDECL(kbhit);
|
||||
extern int NDECL(WindowGetchar);
|
||||
extern void FDECL(ami_argset, (int *, char *[]));
|
||||
extern void FDECL(ami_mkargline, (int *, char **[]));
|
||||
extern void FDECL(ami_wininit_data, (int));
|
||||
extern void exit(int);
|
||||
extern void CleanUp(void);
|
||||
extern void Abort(long);
|
||||
extern int getpid(void);
|
||||
extern char *CopyFile(const char *, const char *);
|
||||
extern int kbhit(void);
|
||||
extern int WindowGetchar(void);
|
||||
extern void ami_argset(int *, char *[]);
|
||||
extern void ami_mkargline(int *, char **[]);
|
||||
extern void ami_wininit_data(int);
|
||||
|
||||
#define FromWBench 0 /* A hint for compiler ... */
|
||||
/* extern boolean FromWBench; /* how were we run? */
|
||||
@@ -132,8 +132,8 @@ extern char **ami_argv;
|
||||
#endif
|
||||
|
||||
#ifdef AZTEC_C
|
||||
extern FILE *FDECL(freopen, (const char *, const char *, FILE *));
|
||||
extern char *FDECL(gets, (char *));
|
||||
extern FILE *freopen(const char *, const char *, FILE *);
|
||||
extern char *gets(char *);
|
||||
#endif
|
||||
|
||||
/*
|
||||
@@ -191,7 +191,7 @@ extern int amibbs; /* BBS mode? */
|
||||
|
||||
#ifdef AMII_GRAPHICS
|
||||
extern int amii_numcolors;
|
||||
void FDECL(amii_setpens, (int));
|
||||
void amii_setpens(int);
|
||||
#endif
|
||||
|
||||
/* for cmd.c: override version in micro.h */
|
||||
|
||||
@@ -167,7 +167,7 @@ extern Boolean RetrievePosition(short, short *, short *);
|
||||
extern Boolean RetrieveSize(short, short, short, short *, short *);
|
||||
extern void SaveWindowPos(WindowPtr);
|
||||
extern void SaveWindowSize(WindowPtr);
|
||||
extern Boolean FDECL(RetrieveWinPos, (WindowPtr, short *, short *));
|
||||
extern Boolean RetrieveWinPos(WindowPtr, short *, short *);
|
||||
|
||||
/* ### macerrs.c ### */
|
||||
|
||||
@@ -183,8 +183,8 @@ extern void popattempt(void);
|
||||
/* ### macfile.c ### */
|
||||
|
||||
/* extern char *macgets(int fd, char *ptr, unsigned len); unused */
|
||||
extern void FDECL(C2P, (const char *c, unsigned char *p));
|
||||
extern void FDECL(P2C, (const unsigned char *p, char *c));
|
||||
extern void C2P(const char *c, unsigned char *p);
|
||||
extern void P2C(const unsigned char *p, char *c);
|
||||
|
||||
/* ### macmenu.c ### */
|
||||
|
||||
@@ -196,51 +196,51 @@ extern void AdjustMenus(short);
|
||||
|
||||
/* ### macmain.c ### */
|
||||
|
||||
extern void FDECL(process_openfile,
|
||||
(short s_vol, long s_dir, Str255 fNm, OSType ft));
|
||||
extern void process_openfile(short s_vol, long s_dir, Str255 fNm,
|
||||
OSType ft);
|
||||
|
||||
/* ### macwin.c ### */
|
||||
|
||||
extern void AddToKeyQueue(unsigned char, Boolean);
|
||||
extern unsigned char GetFromKeyQueue(void);
|
||||
void trans_num_keys(EventRecord *);
|
||||
extern void NDECL(InitMac);
|
||||
int FDECL(try_key_queue, (char *));
|
||||
void FDECL(enter_topl_mode, (char *));
|
||||
void FDECL(leave_topl_mode, (char *));
|
||||
void FDECL(topl_set_resp, (char *, char));
|
||||
Boolean FDECL(topl_key, (unsigned char, Boolean));
|
||||
E void FDECL(HandleEvent, (EventRecord *)); /* used in mmodal.c */
|
||||
extern void NDECL(port_help);
|
||||
extern void InitMac(void);
|
||||
int try_key_queue(char *);
|
||||
void enter_topl_mode(char *);
|
||||
void leave_topl_mode(char *);
|
||||
void topl_set_resp(char *, char);
|
||||
Boolean topl_key(unsigned char, Boolean);
|
||||
E void HandleEvent(EventRecord *); /* used in mmodal.c */
|
||||
extern void port_help(void);
|
||||
|
||||
extern Boolean small_screen;
|
||||
|
||||
E void FDECL(mac_init_nhwindows, (int *, char **));
|
||||
E void NDECL(mac_askname);
|
||||
E void NDECL(mac_get_nh_event);
|
||||
E void FDECL(mac_exit_nhwindows, (const char *));
|
||||
E winid FDECL(mac_create_nhwindow, (int));
|
||||
E void FDECL(mac_clear_nhwindow, (winid));
|
||||
E void FDECL(mac_display_nhwindow, (winid, BOOLEAN_P));
|
||||
E void FDECL(mac_destroy_nhwindow, (winid));
|
||||
E void FDECL(mac_curs, (winid, int, int));
|
||||
E void FDECL(mac_putstr, (winid, int, const char *));
|
||||
E void FDECL(mac_start_menu, (winid, unsigned long mbehavior));
|
||||
E void FDECL(mac_add_menu, (winid, int, const anything *, CHAR_P, CHAR_P, int,
|
||||
const char *, unsigned int));
|
||||
E void FDECL(mac_end_menu, (winid, const char *));
|
||||
E int FDECL(mac_select_menu, (winid, int, menu_item **));
|
||||
E void mac_init_nhwindows(int *, char **);
|
||||
E void mac_askname(void);
|
||||
E void mac_get_nh_event(void);
|
||||
E void mac_exit_nhwindows(const char *);
|
||||
E winid mac_create_nhwindow(int);
|
||||
E void mac_clear_nhwindow(winid);
|
||||
E void mac_display_nhwindow(winid, BOOLEAN_P);
|
||||
E void mac_destroy_nhwindow(winid);
|
||||
E void mac_curs(winid, int, int);
|
||||
E void mac_putstr(winid, int, const char *);
|
||||
E void mac_start_menu(winid, unsigned long mbehavior);
|
||||
E void mac_add_menu(winid, int, const anything *, CHAR_P, CHAR_P, int,
|
||||
const char *, unsigned int);
|
||||
E void mac_end_menu(winid, const char *);
|
||||
E int mac_select_menu(winid, int, menu_item **);
|
||||
#ifdef CLIPPING
|
||||
E void FDECL(mac_cliparound, (int, int));
|
||||
E void mac_cliparound(int, int);
|
||||
#endif
|
||||
E int NDECL(mac_nhgetch);
|
||||
E int FDECL(mac_nh_poskey, (int *, int *, int *));
|
||||
E int NDECL(mac_doprev_message);
|
||||
E char FDECL(mac_yn_function, (const char *, const char *, CHAR_P));
|
||||
E void FDECL(mac_getlin, (const char *, char *));
|
||||
E int NDECL(mac_get_ext_cmd);
|
||||
E void FDECL(mac_number_pad, (int));
|
||||
E void NDECL(mac_delay_output);
|
||||
E int mac_nhgetch(void);
|
||||
E int mac_nh_poskey(int *, int *, int *);
|
||||
E int mac_doprev_message(void);
|
||||
E char mac_yn_function(const char *, const char *, CHAR_P);
|
||||
E void mac_getlin(const char *, char *);
|
||||
E int mac_get_ext_cmd(void);
|
||||
E void mac_number_pad(int);
|
||||
E void mac_delay_output(void);
|
||||
|
||||
#undef E
|
||||
|
||||
|
||||
@@ -55,8 +55,8 @@
|
||||
*/
|
||||
#define STRNCMPI
|
||||
#undef strcmpi
|
||||
extern int FDECL(strcmpi, (const char *, const char *));
|
||||
extern int FDECL(strncmpi, (const char *, const char *, size_t));
|
||||
extern int strcmpi(const char *, const char *);
|
||||
extern int strncmpi(const char *, const char *, size_t);
|
||||
#endif
|
||||
|
||||
#include <termcap.h>
|
||||
|
||||
@@ -178,10 +178,10 @@ extern char hackdir[];
|
||||
#define ABORT C('a')
|
||||
#define getuid() 1
|
||||
#define getlogin() ((char *) 0)
|
||||
extern void NDECL(win32_abort);
|
||||
extern void win32_abort(void);
|
||||
#ifdef WIN32CON
|
||||
extern void FDECL(nttty_preference_update, (const char *));
|
||||
extern void NDECL(toggle_mouse_support);
|
||||
extern void nttty_preference_update(const char *);
|
||||
extern void toggle_mouse_support(void);
|
||||
#endif
|
||||
|
||||
#ifndef alloca
|
||||
@@ -214,7 +214,7 @@ extern void NDECL(toggle_mouse_support);
|
||||
#define NH_A2W(a, w, cb) (strncpy((w), (a), (cb)))
|
||||
#endif
|
||||
|
||||
extern int FDECL(set_win32_option, (const char *, const char *));
|
||||
extern int set_win32_option(const char *, const char *);
|
||||
|
||||
/*
|
||||
* 3.4.3 addition - Stuff to help the user with some common, yet significant
|
||||
|
||||
Reference in New Issue
Block a user