Move #included C code from an *.h file to an *.inc file.
svn path=/trunk/; revision=2456
This commit is contained in:
parent
c312f69abc
commit
28ac31a634
|
@ -1,7 +1,7 @@
|
|||
# Makefile.am
|
||||
# Automake file for Ethereal
|
||||
#
|
||||
# $Id: Makefile.am,v 1.226 2000/09/11 16:16:00 gram Exp $
|
||||
# $Id: Makefile.am,v 1.227 2000/09/22 16:37:48 gram Exp $
|
||||
#
|
||||
# Ethereal - Network traffic analyzer
|
||||
# By Gerald Combs <gerald@zing.org>
|
||||
|
@ -281,7 +281,6 @@ ETHEREAL_COMMON_SOURCES = \
|
|||
ipv4.c \
|
||||
ipv4.h \
|
||||
llcsaps.h \
|
||||
ncp2222.h \
|
||||
nlpid.h \
|
||||
oui.h \
|
||||
packet.c \
|
||||
|
@ -527,6 +526,7 @@ EXTRA_DIST = \
|
|||
make-reg-dotc \
|
||||
manuf \
|
||||
ncp2222.py \
|
||||
packet-ncp2222.inc \
|
||||
print.ps \
|
||||
README.aix \
|
||||
README.bsd \
|
||||
|
|
|
@ -20,7 +20,7 @@ http://developer.novell.com/ndk/doc/docui/index.htm#../ncp/ncp__enu/data/
|
|||
for a badly-formatted HTML version of the same PDF.
|
||||
|
||||
|
||||
$Id: ncp2222.py,v 1.6 2000/09/06 04:50:51 gram Exp $
|
||||
$Id: ncp2222.py,v 1.7 2000/09/22 16:37:49 gram Exp $
|
||||
|
||||
Copyright (c) 2000 by Gilbert Ramirez <gram@xiexie.org>
|
||||
|
||||
|
@ -1467,6 +1467,6 @@ proto_register_ncp2222(void)
|
|||
print "};\n"
|
||||
|
||||
|
||||
print '#include "ncp2222.h"'
|
||||
print '#include "packet-ncp2222.inc"'
|
||||
|
||||
|
||||
|
|
|
@ -1,8 +1,13 @@
|
|||
/* ncp2222.h
|
||||
* Routines for NetWare Core Protocol
|
||||
/* packet-ncp2222.inc
|
||||
*
|
||||
* Routines for NetWare Core Protocol. This C code gets #include'd
|
||||
* into packet-ncp2222.c, which is generated from ncp2222.py. It's
|
||||
* #include'd instead of being in a separate compilation unit so
|
||||
* that all the data tables in packet-ncp2222.c can remain static.
|
||||
*
|
||||
* Gilbert Ramirez <gram@xiexie.org>
|
||||
*
|
||||
* $Id: ncp2222.h,v 1.2 2000/08/22 06:38:16 gram Exp $
|
||||
* $Id: packet-ncp2222.inc,v 1.1 2000/09/22 16:37:50 gram Exp $
|
||||
*
|
||||
* Ethereal - Network traffic analyzer
|
||||
* By Gerald Combs <gerald@zing.org>
|
Loading…
Reference in New Issue