FDECL, NDECL in outdated

This commit is contained in:
nhmall
2021-01-31 13:40:15 -05:00
parent b851b28cbe
commit 979571e09e
22 changed files with 213 additions and 213 deletions

View File

@@ -41,11 +41,11 @@ typedef struct handlefile {
Handle data; /* The resource, purgeable */
} HandleFile;
static HandleFile *FDECL(IsHandleFile, (int));
static int FDECL(OpenHandleFile, (const unsigned char *, long));
static int FDECL(CloseHandleFile, (int));
static int FDECL(ReadHandleFile, (int, void *, unsigned));
static long FDECL(SetHandleFilePos, (int, short, long));
static HandleFile *IsHandleFile(int);
static int OpenHandleFile(const unsigned char *, long);
static int CloseHandleFile(int);
static int ReadHandleFile(int, void *, unsigned);
static long SetHandleFilePos(int, short, long);
HandleFile theHandleFiles[MAX_HF];
MacDirs theDirs; /* also referenced in macwin.c */

View File

@@ -79,22 +79,22 @@ static pascal OSStatus GlobalEvent(EventHandlerCallRef, EventRef, void *);
#else
static void FDECL(GeneralKey, (EventRecord *, WindowPtr));
static void FDECL(macKeyMenu, (EventRecord *, WindowPtr));
static void FDECL(macKeyText, (EventRecord *, WindowPtr));
static void GeneralKey(EventRecord *, WindowPtr);
static void macKeyMenu(EventRecord *, WindowPtr);
static void macKeyText(EventRecord *, WindowPtr);
static void FDECL(macClickMessage, (EventRecord *, WindowPtr));
static void FDECL(macClickTerm, (EventRecord *, WindowPtr));
static void FDECL(macClickMenu, (EventRecord *, WindowPtr));
static void FDECL(macClickText, (EventRecord *, WindowPtr));
static void macClickMessage(EventRecord *, WindowPtr);
static void macClickTerm(EventRecord *, WindowPtr);
static void macClickMenu(EventRecord *, WindowPtr);
static void macClickText(EventRecord *, WindowPtr);
static short FDECL(macDoNull, (EventRecord *, WindowPtr));
static short FDECL(macUpdateMessage, (EventRecord *, WindowPtr));
static short FDECL(macUpdateMenu, (EventRecord *, WindowPtr));
static short FDECL(GeneralUpdate, (EventRecord *, WindowPtr));
static short macDoNull(EventRecord *, WindowPtr);
static short macUpdateMessage(EventRecord *, WindowPtr);
static short macUpdateMenu(EventRecord *, WindowPtr);
static short GeneralUpdate(EventRecord *, WindowPtr);
static void FDECL(macCursorTerm, (EventRecord *, WindowPtr, RgnHandle));
static void FDECL(GeneralCursor, (EventRecord *, WindowPtr, RgnHandle));
static void macCursorTerm(EventRecord *, WindowPtr, RgnHandle);
static void GeneralCursor(EventRecord *, WindowPtr, RgnHandle);
#endif
static void TextUpdate(NhWindow *wind);
@@ -215,12 +215,12 @@ Boolean small_screen = 0;
#endif
#define NHW_BASE 0
static int FDECL(filter_scroll_key, (const int, NhWindow *));
static int filter_scroll_key(const int, NhWindow *);
#if 1 //!TARGET_API_MAC_CARBON
static void FDECL(DoScrollBar, (Point, short, ControlHandle, NhWindow *));
static void DoScrollBar(Point, short, ControlHandle, NhWindow *);
#endif
static pascal void FDECL(MoveScrollBar, (ControlHandle, short));
static pascal void MoveScrollBar(ControlHandle, short);
#if 1 //!TARGET_API_MAC_CARBON
typedef void (*CbFunc)(EventRecord *, WindowPtr);

View File

@@ -9,9 +9,9 @@
#include "macpopup.h"
#include "func_tab.h"
extern int NDECL(extcmd_via_menu); /* cmd.c */
extern int extcmd_via_menu(void); /* cmd.c */
typedef Boolean FDECL((*key_func), (unsigned char));
typedef Boolean (*key_func)(unsigned char);
int
get_line_from_key_queue(char *bufp)