aboutsummaryrefslogtreecommitdiff
path: root/libexec/xtend/packet.c
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>1997-12-04 07:25:19 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>1997-12-04 07:25:19 +0000
commit14d460e1b4e522cf853a54a6924a5e3763da64ae (patch)
treebaf07b9d78f399e406efc50959310a23cf5232d6 /libexec/xtend/packet.c
parent8cda9fcc0d9f6bca4d9d772e12d3634db93431d6 (diff)
downloadsrc-14d460e1b4e522cf853a54a6924a5e3763da64ae.tar.gz
src-14d460e1b4e522cf853a54a6924a5e3763da64ae.zip
Use err(3). Add prototypes. Document that startup scripts are rc.i386 and
rc.conf (enable/disable) not rc.local. Use full pathname in SYNOPSIS section.
Notes
Notes: svn path=/head/; revision=31525
Diffstat (limited to 'libexec/xtend/packet.c')
-rw-r--r--libexec/xtend/packet.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/libexec/xtend/packet.c b/libexec/xtend/packet.c
index ec67c94895e1..bdef357f198c 100644
--- a/libexec/xtend/packet.c
+++ b/libexec/xtend/packet.c
@@ -27,10 +27,13 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id$
*/
+#ifndef lint
+static const char rcsid[] =
+ "$Id$";
+#endif /* not lint */
+
#include <stdio.h>
#include <sys/time.h>
#include "xtend.h"
@@ -55,6 +58,7 @@ char *X10cmdnames[] = {
* Log a packet and update device status accordingly
*/
+void
logpacket(p)
unsigned char *p;
{
@@ -72,6 +76,7 @@ unsigned char *p;
* in core and on disk.
*/
+void
processpacket(p)
unsigned char *p;
{