diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2008-01-06 14:38:16 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2008-01-06 14:38:16 +0000 |
commit | 83de4db51716ad4c5a46ddd99202b6043c0bbc2a (patch) | |
tree | d226837b8e231b9ca5cf4f82a6e99c897f215ff2 /misc/pascal | |
parent | 7660f9957f5b0d5ebd0346ea8a351df04e830685 (diff) |
Private headers in common directory is a bad idea
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@513 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'misc/pascal')
-rw-r--r-- | misc/pascal/insn16/libinsn/pgen.c | 1 | ||||
-rw-r--r-- | misc/pascal/insn32/libinsn/pgen.c | 1 | ||||
-rwxr-xr-x | misc/pascal/nuttx/INSTALL.sh | 6 | ||||
-rw-r--r-- | misc/pascal/pascal/Makefile | 4 | ||||
-rw-r--r-- | misc/pascal/pascal/pas.h (renamed from misc/pascal/include/pas.h) | 0 | ||||
-rw-r--r-- | misc/pascal/pascal/pblck.h (renamed from misc/pascal/include/pblck.h) | 0 | ||||
-rw-r--r-- | misc/pascal/pascal/pexpr.h (renamed from misc/pascal/include/pexpr.h) | 0 | ||||
-rw-r--r-- | misc/pascal/pascal/pfunc.h (renamed from misc/pascal/include/pfunc.h) | 0 | ||||
-rw-r--r-- | misc/pascal/pascal/pgen.h (renamed from misc/pascal/include/pgen.h) | 0 | ||||
-rw-r--r-- | misc/pascal/pascal/pprgm.h (renamed from misc/pascal/include/pprgm.h) | 0 | ||||
-rw-r--r-- | misc/pascal/pascal/pproc.h (renamed from misc/pascal/include/pproc.h) | 0 | ||||
-rw-r--r-- | misc/pascal/pascal/pstm.h (renamed from misc/pascal/include/pstm.h) | 0 | ||||
-rw-r--r-- | misc/pascal/pascal/ptbl.h (renamed from misc/pascal/include/ptbl.h) | 0 | ||||
-rw-r--r-- | misc/pascal/pascal/ptdefs.h (renamed from misc/pascal/include/ptdefs.h) | 0 | ||||
-rw-r--r-- | misc/pascal/pascal/ptkn.h (renamed from misc/pascal/include/ptkn.h) | 0 | ||||
-rw-r--r-- | misc/pascal/pascal/punit.h (renamed from misc/pascal/include/punit.h) | 0 | ||||
-rw-r--r-- | misc/pascal/plink/Makefile | 5 | ||||
-rw-r--r-- | misc/pascal/plink/plink.h (renamed from misc/pascal/include/plink.h) | 0 | ||||
-rw-r--r-- | misc/pascal/plink/plreloc.h (renamed from misc/pascal/include/plreloc.h) | 0 | ||||
-rw-r--r-- | misc/pascal/plink/plsym.h (renamed from misc/pascal/include/plsym.h) | 0 |
20 files changed, 12 insertions, 5 deletions
diff --git a/misc/pascal/insn16/libinsn/pgen.c b/misc/pascal/insn16/libinsn/pgen.c index 4be58e108c..cc192587c3 100644 --- a/misc/pascal/insn16/libinsn/pgen.c +++ b/misc/pascal/insn16/libinsn/pgen.c @@ -61,7 +61,6 @@ * Global Variables
**********************************************************************/
-/* See pas.h */
extern poffHandle_t poffHandle; /* Handle to POFF object */
extern FILE *lstFile; /* LIST file pointer */
extern sint16 level; /* Static nesting level */
diff --git a/misc/pascal/insn32/libinsn/pgen.c b/misc/pascal/insn32/libinsn/pgen.c index 7283622aac..d6584147db 100644 --- a/misc/pascal/insn32/libinsn/pgen.c +++ b/misc/pascal/insn32/libinsn/pgen.c @@ -63,7 +63,6 @@ * Global Variables
**********************************************************************/
-/* See pas.h */
extern poffHandle_t poffHandle; /* Handle to POFF object */
extern FILE *lstFile; /* LIST file pointer */
extern sint16 level; /* Static nesting level */
diff --git a/misc/pascal/nuttx/INSTALL.sh b/misc/pascal/nuttx/INSTALL.sh index 53749281fb..c2f374e57d 100755 --- a/misc/pascal/nuttx/INSTALL.sh +++ b/misc/pascal/nuttx/INSTALL.sh @@ -126,9 +126,9 @@ mkdir ${nuttxdir}/pcode/libpas || \ # Copy runtime files -cp -a ${pascaldir}/include/poff.h ${pascaldir}/include/pofflib.h \ +cp -a ${pascaldir}/include/poff.h ${pascaldir}/include/pofflib.h \ ${pascaldir}/include/pedefs.h ${pascaldir}/include/perr.h \ - ${pascaldir}/include/pdefs.h ${pascaldir}/include/pfdefs.h \ + ${pascaldir}/include/pdefs.h ${pascaldir}/include/pfdefs.h \ ${pascaldir}/include/pxdefs.h ${pascaldir}/include/paslib.h \ ${nuttxdir}/pcode/include/. || \ { echo "Failed to copy ${pascaldir}/include" ; exit 1; } @@ -161,6 +161,6 @@ cp -a ${pascaldir}/${modeldir}/include/pexec.h ${pascaldir}/${modeldir}/include ${nuttxdir}/pcode/insn/include/. || \ { echo "Failed to copy ${pascaldir}/${modeldir}/include" ; exit 1; } -cp -a ${pascaldir}/${modeldir}/prun/pexec.c ${pascaldir}/${modeldir}/prun/pload.c \ +cp -a ${pascaldir}/${modeldir}/prun/pexec.c ${pascaldir}/${modeldir}/prun/pload.c \ ${pascaldir}/${modeldir}/prun/Make.defs ${nuttxdir}/pcode/insn/prun/. || \ { echo "Failed to copy ${pascaldir}/${modeldir}/prun" ; exit 1; } diff --git a/misc/pascal/pascal/Makefile b/misc/pascal/pascal/Makefile index 6029fb2452..4c4eaf700c 100644 --- a/misc/pascal/pascal/Makefile +++ b/misc/pascal/pascal/Makefile @@ -47,6 +47,10 @@ BINDIR-$(CONFIG_INSN16) = $(PASCAL)/bin16 BINDIR-$(CONFIG_INSN32) = $(PASCAL)/bin32 # +# Tools +# +CFLAGS += -I. +# # Objects and targets # PASSRCS = pas.c pprgm.c punit.c pblck.c pstm.c pexpr.c \ diff --git a/misc/pascal/include/pas.h b/misc/pascal/pascal/pas.h index 5a4829948f..5a4829948f 100644 --- a/misc/pascal/include/pas.h +++ b/misc/pascal/pascal/pas.h diff --git a/misc/pascal/include/pblck.h b/misc/pascal/pascal/pblck.h index 22b6b75b4f..22b6b75b4f 100644 --- a/misc/pascal/include/pblck.h +++ b/misc/pascal/pascal/pblck.h diff --git a/misc/pascal/include/pexpr.h b/misc/pascal/pascal/pexpr.h index dba1f1ee76..dba1f1ee76 100644 --- a/misc/pascal/include/pexpr.h +++ b/misc/pascal/pascal/pexpr.h diff --git a/misc/pascal/include/pfunc.h b/misc/pascal/pascal/pfunc.h index e6d3303e44..e6d3303e44 100644 --- a/misc/pascal/include/pfunc.h +++ b/misc/pascal/pascal/pfunc.h diff --git a/misc/pascal/include/pgen.h b/misc/pascal/pascal/pgen.h index 055e14eb3c..055e14eb3c 100644 --- a/misc/pascal/include/pgen.h +++ b/misc/pascal/pascal/pgen.h diff --git a/misc/pascal/include/pprgm.h b/misc/pascal/pascal/pprgm.h index 7c4ef2ca02..7c4ef2ca02 100644 --- a/misc/pascal/include/pprgm.h +++ b/misc/pascal/pascal/pprgm.h diff --git a/misc/pascal/include/pproc.h b/misc/pascal/pascal/pproc.h index 5ede20a57c..5ede20a57c 100644 --- a/misc/pascal/include/pproc.h +++ b/misc/pascal/pascal/pproc.h diff --git a/misc/pascal/include/pstm.h b/misc/pascal/pascal/pstm.h index 6508db68a2..6508db68a2 100644 --- a/misc/pascal/include/pstm.h +++ b/misc/pascal/pascal/pstm.h diff --git a/misc/pascal/include/ptbl.h b/misc/pascal/pascal/ptbl.h index 70d3188465..70d3188465 100644 --- a/misc/pascal/include/ptbl.h +++ b/misc/pascal/pascal/ptbl.h diff --git a/misc/pascal/include/ptdefs.h b/misc/pascal/pascal/ptdefs.h index d7a079e13a..d7a079e13a 100644 --- a/misc/pascal/include/ptdefs.h +++ b/misc/pascal/pascal/ptdefs.h diff --git a/misc/pascal/include/ptkn.h b/misc/pascal/pascal/ptkn.h index d30333e0c9..d30333e0c9 100644 --- a/misc/pascal/include/ptkn.h +++ b/misc/pascal/pascal/ptkn.h diff --git a/misc/pascal/include/punit.h b/misc/pascal/pascal/punit.h index 128ec71982..128ec71982 100644 --- a/misc/pascal/include/punit.h +++ b/misc/pascal/pascal/punit.h diff --git a/misc/pascal/plink/Makefile b/misc/pascal/plink/Makefile index 9b76aa6a00..2606394179 100644 --- a/misc/pascal/plink/Makefile +++ b/misc/pascal/plink/Makefile @@ -47,6 +47,11 @@ BINDIR-$(CONFIG_INSN16) = $(PASCAL)/bin16 BINDIR-$(CONFIG_INSN32) = $(PASCAL)/bin32 # +# Tools +# +CFLAGS += -I. + +# # Objects and targets # PLINKSRCS = plink.c plsym.c plreloc.c diff --git a/misc/pascal/include/plink.h b/misc/pascal/plink/plink.h index 350bce4618..350bce4618 100644 --- a/misc/pascal/include/plink.h +++ b/misc/pascal/plink/plink.h diff --git a/misc/pascal/include/plreloc.h b/misc/pascal/plink/plreloc.h index 1998361b92..1998361b92 100644 --- a/misc/pascal/include/plreloc.h +++ b/misc/pascal/plink/plreloc.h diff --git a/misc/pascal/include/plsym.h b/misc/pascal/plink/plsym.h index 96f5201485..96f5201485 100644 --- a/misc/pascal/include/plsym.h +++ b/misc/pascal/plink/plsym.h |