diff options
author | joerg <joerg> | 2013-03-03 01:11:10 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-03-03 01:11:10 +0000 |
commit | 25b6570bf3fd8f2ea6cbaee3e3051fd69fa1a3bc (patch) | |
tree | 9b29266543fc81f6eb480be6089e16f93c3c3de3 /cad/magic/patches/patch-netmenu_nmInt.h | |
parent | 5bfdb7b4794e1c15a6133cc32961ea7f222d4dc8 (diff) | |
download | pkgsrc-25b6570bf3fd8f2ea6cbaee3e3051fd69fa1a3bc.tar.gz |
Fix inconsistent return types. Use stdarg.h more.
Diffstat (limited to 'cad/magic/patches/patch-netmenu_nmInt.h')
-rw-r--r-- | cad/magic/patches/patch-netmenu_nmInt.h | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/cad/magic/patches/patch-netmenu_nmInt.h b/cad/magic/patches/patch-netmenu_nmInt.h new file mode 100644 index 00000000000..ddc210b10bf --- /dev/null +++ b/cad/magic/patches/patch-netmenu_nmInt.h @@ -0,0 +1,100 @@ +$NetBSD: patch-netmenu_nmInt.h,v 1.1 2013/03/03 01:11:11 joerg Exp $ + +--- netmenu/nmInt.h.orig 2006-04-10 22:03:14.000000000 +0000 ++++ netmenu/nmInt.h +@@ -24,6 +24,8 @@ + #define _NMINT_H + + #include "windows/windows.h" ++#include "textio/txcommands.h" ++#include "tiles/tile.h" + + /* The declarations below define the elements displayed in the + * net-list menu. There are three kinds of things: +@@ -108,26 +110,30 @@ extern void NMAddPoint(); + extern void NMDeletePoint(); + extern void NMClearPoints(); + extern void NMUpdatePoints(); +-extern int NMRedrawPoints(); + +-extern int NMRedrawCell(); + extern void NMShowCell(); + extern void NMUnsetCell(); + extern void NMShowUnderBox(); +-extern int NMShowRoutedNet(); + extern void NMShowLabel(); + +-extern int NMRipup(); + extern int NMRipupList(); +-extern int NMExtract(); + extern void NMSelectNet(); + + extern bool NMCheckWritten(); +-extern int NMWriteAll(); + + extern void NMUndo(); + extern void NMUndoInit(); + ++void NMcommand(MagWindow *w, TxCommand *cmd); ++void NMredisplay(MagWindow *w, Rect *rootArea, Rect *clipArea); ++void NMDeleteTerm(char *name); ++void NMWriteAll(void); ++void NMRedrawPoints(MagWindow *window, Plane *plane); ++void NMRedrawCell(MagWindow *window, Plane *plane); ++void NMShowRoutedNet(char *netName); ++void NMRipup(void); ++void NMExtract(void); ++ + /* Various global variables (within this module): */ + + extern char * NMCurNetName; +$NetBSD: patch-netmenu_nmInt.h,v 1.1 2013/03/03 01:11:11 joerg Exp $ + +--- netmenu/nmInt.h.orig 2006-04-10 22:03:14.000000000 +0000 ++++ netmenu/nmInt.h +@@ -24,6 +24,8 @@ + #define _NMINT_H + + #include "windows/windows.h" ++#include "textio/txcommands.h" ++#include "tiles/tile.h" + + /* The declarations below define the elements displayed in the + * net-list menu. There are three kinds of things: +@@ -108,26 +110,30 @@ extern void NMAddPoint(); + extern void NMDeletePoint(); + extern void NMClearPoints(); + extern void NMUpdatePoints(); +-extern int NMRedrawPoints(); + +-extern int NMRedrawCell(); + extern void NMShowCell(); + extern void NMUnsetCell(); + extern void NMShowUnderBox(); +-extern int NMShowRoutedNet(); + extern void NMShowLabel(); + +-extern int NMRipup(); + extern int NMRipupList(); +-extern int NMExtract(); + extern void NMSelectNet(); + + extern bool NMCheckWritten(); +-extern int NMWriteAll(); + + extern void NMUndo(); + extern void NMUndoInit(); + ++void NMcommand(MagWindow *w, TxCommand *cmd); ++void NMredisplay(MagWindow *w, Rect *rootArea, Rect *clipArea); ++void NMDeleteTerm(char *name); ++void NMWriteAll(void); ++void NMRedrawPoints(MagWindow *window, Plane *plane); ++void NMRedrawCell(MagWindow *window, Plane *plane); ++void NMShowRoutedNet(char *netName); ++void NMRipup(void); ++void NMExtract(void); ++ + /* Various global variables (within this module): */ + + extern char * NMCurNetName; |