Fri Jan 11 13:30:32 2013 UTC ()
Fix main.
(joerg)
diff -r1.5 -r1.6 pkgsrc/misc/ibutton-pdkit/distinfo
diff -r0 -r1.1 pkgsrc/misc/ibutton-pdkit/patches/patch-1wsensor.c
diff -r0 -r1.1 pkgsrc/misc/ibutton-pdkit/patches/patch-atodtst.c
diff -r0 -r1.1 pkgsrc/misc/ibutton-pdkit/patches/patch-counter.c
diff -r0 -r1.1 pkgsrc/misc/ibutton-pdkit/patches/patch-coupler.c
diff -r0 -r1.1 pkgsrc/misc/ibutton-pdkit/patches/patch-debit.c
diff -r0 -r1.1 pkgsrc/misc/ibutton-pdkit/patches/patch-dumptag.c
diff -r0 -r1.1 pkgsrc/misc/ibutton-pdkit/patches/patch-initcopr.c
diff -r0 -r1.1 pkgsrc/misc/ibutton-pdkit/patches/patch-initrov.c
diff -r0 -r1.1 pkgsrc/misc/ibutton-pdkit/patches/patch-list2tag.c
diff -r0 -r1.1 pkgsrc/misc/ibutton-pdkit/patches/patch-mktag.c
diff -r0 -r1.1 pkgsrc/misc/ibutton-pdkit/patches/patch-mweather.c
diff -r0 -r1.1 pkgsrc/misc/ibutton-pdkit/patches/patch-swtloop.c
diff -r0 -r1.1 pkgsrc/misc/ibutton-pdkit/patches/patch-swtoper.c
diff -r0 -r1.1 pkgsrc/misc/ibutton-pdkit/patches/patch-swtsngl.c
diff -r0 -r1.1 pkgsrc/misc/ibutton-pdkit/patches/patch-temp.c
diff -r0 -r1.1 pkgsrc/misc/ibutton-pdkit/patches/patch-thermodl.c
diff -r0 -r1.1 pkgsrc/misc/ibutton-pdkit/patches/patch-thermoms.c
diff -r0 -r1.1 pkgsrc/misc/ibutton-pdkit/patches/patch-tstfind.c
diff -r0 -r1.1 pkgsrc/misc/ibutton-pdkit/patches/patch-tstow.c
diff -r0 -r1.1 pkgsrc/misc/ibutton-pdkit/patches/patch-tstowe.c
--- pkgsrc/misc/ibutton-pdkit/distinfo 2007/12/20 13:12:13 1.5
+++ pkgsrc/misc/ibutton-pdkit/distinfo 2013/01/11 13:30:32 1.6
$NetBSD: patch-1wsensor.c,v 1.1 2013/01/11 13:30:32 joerg Exp $
--- 1wsensor.c.orig 2013-01-11 01:30:59.000000000 +0000
+++ 1wsensor.c
@@ -63,7 +63,7 @@ FILE *fp;
//----------------------------------------------------------------------
// This is the Main routine for 1wsensor
//
-int main(short argc, char **argv)
+int main(int argc, char **argv)
{
int ShowStatus=FALSE,filenum,first,rslt;
uchar tagdata[MSGMAX];
$NetBSD: patch-atodtst.c,v 1.1 2013/01/11 13:30:32 joerg Exp $
--- atodtst.c.orig 2013-01-11 01:30:30.000000000 +0000
+++ atodtst.c
@@ -80,7 +80,7 @@ uchar FamilySN[MAXDEVICES][8];
//----------------------------------------------------------------------
// Main Test for the DS2450 - 1-Wire Quad A/D Converter
//
-int main(short argc, char **argv)
+int main(int argc, char **argv)
{
char return_msg[128];
char msg[45];
$NetBSD: patch-counter.c,v 1.1 2013/01/11 13:30:32 joerg Exp $
--- counter.c.orig 2013-01-11 01:30:46.000000000 +0000
+++ counter.c
@@ -60,7 +60,7 @@ uchar FamilySN[MAXDEVICES][8];
//----------------------------------------------------------------------
// Main Test for the DS2423 - counter
//
-int main(short argc, char **argv)
+int main(int argc, char **argv)
{
char return_msg[128];
int NumDevices=0;
$NetBSD: patch-coupler.c,v 1.1 2013/01/11 13:30:32 joerg Exp $
--- coupler.c.orig 2013-01-11 01:31:02.000000000 +0000
+++ coupler.c
@@ -60,7 +60,7 @@ extern int SwitchStateToString1F(int,cha
// This is the begining of the program that test the commands for the
// DS2409
//
-int main(short argc, char **argv)
+int main(int argc, char **argv)
{
char return_msg[128]; //returned message from 1-wire operations
uchar SwitchSN[MAXDEVICES][8]; //the serial numbers for the devices
$NetBSD: patch-debit.c,v 1.1 2013/01/11 13:30:32 joerg Exp $
--- debit.c.orig 2013-01-11 01:31:04.000000000 +0000
+++ debit.c
@@ -69,7 +69,7 @@ FILE *fp;
//----------------------------------------------------------------------
// This is the Main routine for debit
//
-int main(short argc, char **argv)
+int main(int argc, char **argv)
{
int ShowStatus=FALSE,filenum,LOOP,i,cnt,exit_code=EXIT_SUCCESS;
char msg[200];
$NetBSD: patch-dumptag.c,v 1.1 2013/01/11 13:30:32 joerg Exp $
--- dumptag.c.orig 2013-01-11 01:31:07.000000000 +0000
+++ dumptag.c
@@ -43,7 +43,7 @@ extern int TAGToString(TAGType *, char *
//----------------------------------------------------------------------
// This is the Main routine for dumpobm.
//
-int main(short argc, char **argv)
+int main(int argc, char **argv)
{
FILE *infp;
TAGType OutTAG;
$NetBSD: patch-initcopr.c,v 1.1 2013/01/11 13:30:32 joerg Exp $
--- initcopr.c.orig 2013-01-11 01:31:10.000000000 +0000
+++ initcopr.c
@@ -56,7 +56,7 @@ FILE *fp;
//----------------------------------------------------------------------
// This is the Main routine for initcopr
//
-int main(short argc, char **argv)
+int main(int argc, char **argv)
{
int ShowStatus=FALSE,filenum;
char msg[200];
$NetBSD: patch-initrov.c,v 1.1 2013/01/11 13:30:32 joerg Exp $
--- initrov.c.orig 2013-01-11 01:31:12.000000000 +0000
+++ initrov.c
@@ -67,7 +67,7 @@ FILE *fp;
//----------------------------------------------------------------------
// This is the Main routine for initrov
//
-int main(short argc, char **argv)
+int main(int argc, char **argv)
{
int ShowStatus=FALSE,filenum;
char msg[300];
$NetBSD: patch-list2tag.c,v 1.1 2013/01/11 13:30:32 joerg Exp $
--- list2tag.c.orig 2013-01-11 01:31:14.000000000 +0000
+++ list2tag.c
@@ -59,7 +59,7 @@ int ParseData(char *, int, uchar *, int)
//----------------------------------------------------------------------
// This is the Main routine for list2tag.
//
-int main(short argc, char **argv)
+int main(int argc, char **argv)
{
int fllen,buflen,i,j,mcnt,ln;
FILE *infp,*outfp;
$NetBSD: patch-mktag.c,v 1.1 2013/01/11 13:30:32 joerg Exp $
--- mktag.c.orig 2013-01-11 01:31:16.000000000 +0000
+++ mktag.c
@@ -62,7 +62,7 @@ int ReadRoms(FILE *, uchar *, int);
//----------------------------------------------------------------------
// This is the Main routine for list2obm.
//
-int main(short argc, char **argv)
+int main(int argc, char **argv)
{
uchar databuf[MAX_DATABUF];
int i,j,mcnt,ln;
$NetBSD: patch-mweather.c,v 1.1 2013/01/11 13:30:32 joerg Exp $
--- mweather.c.orig 2013-01-11 01:31:18.000000000 +0000
+++ mweather.c
@@ -72,7 +72,7 @@ uchar TempSN[8],CountSN[8],SwitchSN[8],
//----------------------------------------------------------------------
// Main Test for Weather Station
//
-int main(short argc, char **argv)
+int main(int argc, char **argv)
{
WeatherStruct weather1;
// WeatherStruct weather1 = { {0x20, 0x7A, 0x01, 0x01, 0x00, 0x00, 0x00, 0xFA},
$NetBSD: patch-swtloop.c,v 1.1 2013/01/11 13:30:32 joerg Exp $
--- swtloop.c.orig 2013-01-11 01:31:21.000000000 +0000
+++ swtloop.c
@@ -53,7 +53,7 @@ extern int getkeystroke(void);
//--------------------------------------------------------------------------
// This is the begining of the program that tests the different Channels
-int main(short argc, char **argv)
+int main(int argc, char **argv)
{
char return_msg[128]; //returned message from 1-wire operations
int i,j,k,n; //loop counters
$NetBSD: patch-swtoper.c,v 1.1 2013/01/11 13:30:32 joerg Exp $
--- swtoper.c.orig 2013-01-11 01:34:38.000000000 +0000
+++ swtoper.c
@@ -54,7 +54,7 @@ extern int getkeystroke(void);
//---------------------------------------------------------------------------
// The main program that performs the operations on switches
//
-int main(short argc, char **argv)
+int main(int argc, char **argv)
{
char return_msg[128]; //returned message from 1-wire operations
short test; //info byte data
$NetBSD: patch-swtsngl.c,v 1.1 2013/01/11 13:30:32 joerg Exp $
--- swtsngl.c.orig 2013-01-11 01:31:26.000000000 +0000
+++ swtsngl.c
@@ -48,7 +48,7 @@ extern int ReadSwitch05(int,uchar *,int
// This is the begining of the program that tests the commands for the
// DS2405
//
-int main(short argc, char **argv)
+int main(int argc, char **argv)
{
char return_msg[128]; //returned message from 1-wire operations
uchar SwitchSN[MAXDEVICES][8]; //the serial numbers for the devices
$NetBSD: patch-temp.c,v 1.1 2013/01/11 13:30:32 joerg Exp $
--- temp.c.orig 2013-01-11 01:31:28.000000000 +0000
+++ temp.c
@@ -62,7 +62,7 @@ int family_code;
//----------------------------------------------------------------------
// Main Test for DS1920/DS1820 temperature measurement
//
-int main(short argc, char **argv)
+int main(int argc, char **argv)
{
float current_temp;
char return_msg[128];
$NetBSD: patch-thermodl.c,v 1.1 2013/01/11 13:30:32 joerg Exp $
--- thermodl.c.orig 2013-01-11 01:31:30.000000000 +0000
+++ thermodl.c
@@ -65,7 +65,7 @@ void PrintResults(ThermoStateType *,FILE
//----------------------------------------------------------------------
// This is the Main routine for thermodl.
//
-int main(short argc, char **argv)
+int main(int argc, char **argv)
{
int Fahrenheit=FALSE,filenum,num,i,j;
FILE *fp;
$NetBSD: patch-thermoms.c,v 1.1 2013/01/11 13:30:32 joerg Exp $
--- thermoms.c.orig 2013-01-11 01:31:32.000000000 +0000
+++ thermoms.c
@@ -68,7 +68,7 @@ int InputMissionType(ThermoStateType *,i
//----------------------------------------------------------------------
// This is the Main routine for thermoms.
//
-int main(short argc, char **argv)
+int main(int argc, char **argv)
{
int Fahrenheit=FALSE,num,i,j;
char str[800];
$NetBSD: patch-tstfind.c,v 1.1 2013/01/11 13:30:32 joerg Exp $
--- tstfind.c.orig 2013-01-11 01:31:35.000000000 +0000
+++ tstfind.c
@@ -57,7 +57,7 @@ void PrintSerialNum(int);
//----------------------------------------------------------------------
// Main for tstfind
//
-int main(short argc, char **argv)
+int main(int argc, char **argv)
{
int rslt,cnt;
char return_msg[128];
$NetBSD: patch-tstow.c,v 1.1 2013/01/11 13:30:32 joerg Exp $
--- tstow.c.orig 2013-01-11 01:31:37.000000000 +0000
+++ tstow.c
@@ -69,7 +69,7 @@ void PrintSerialNum(int portnum);
//----------------------------------------------------------------------
// Main Test
//
-int main(short argc, char **argv)
+int main(int argc, char **argv)
{
int PortNum=1,rslt,i,j,testcnt=0,length;
uchar TempSerialNum[8];
$NetBSD: patch-tstowe.c,v 1.1 2013/01/11 13:30:32 joerg Exp $
--- tstowe.c.orig 2013-01-11 01:31:39.000000000 +0000
+++ tstowe.c
@@ -67,7 +67,7 @@ void PrintSerialNum(int);
//----------------------------------------------------------------------
// Main Test
//
-int main(short argc, char **argv)
+int main(int argc, char **argv)
{
int PortNum=1,rslt,i,testcnt=0,length,pg;
uchar tran_buffer[2000];