]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
*** empty log message ***
authorsailer <sailer>
Mon, 10 Feb 2003 16:04:47 +0000 (16:04 +0000)
committersailer <sailer>
Mon, 10 Feb 2003 16:04:47 +0000 (16:04 +0000)
allParam/examples/paget.c
allParam/examples/pastore.c

index 559a6aeb2716ae8fed0349a52c0c9fa95ca86179..a6ad33095374f856bccc400edd9f3d0232a323be 100644 (file)
@@ -1,4 +1,4 @@
-static const char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/allParam/examples/paget.c,v 1.2 2003-01-31 16:40:18 hadaq Exp $";
+static const char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/allParam/examples/paget.c,v 1.3 2003-02-10 16:04:47 sailer Exp $";
 #define _POSIX_C_SOURCE 199506L
 
 #if HAVE_CONFIG_H
@@ -7,6 +7,9 @@ static const char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuild
 
 #include <unistd.h>
 
+extern char *optarg;
+extern int optind, opterr, optopt;
+
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>
@@ -140,3 +143,4 @@ int main(int argc, char * const argv[]) {
        cleanup(param);
        return 0;
 }
+
index a21020249ceb6d3cb15071e24ef4b6ed6a9f438e..3ca2aa6e2f43121d02d094ceec82668cb8fa9fd6 100644 (file)
@@ -1,4 +1,4 @@
-static const char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/allParam/examples/pastore.c,v 1.2 2003-01-31 16:40:18 hadaq Exp $";
+static const char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/allParam/examples/pastore.c,v 1.3 2003-02-10 16:04:47 sailer Exp $";
 #define _POSIX_C_SOURCE 199506L
 
 #if HAVE_CONFIG_H
@@ -7,6 +7,9 @@ static const char rcsId[] = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuild
 
 #include <unistd.h>
 
+extern char *optarg;
+extern int optind, opterr, optopt;
+
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>
@@ -93,3 +96,4 @@ int main(int argc, char * const argv[]) {
        cleanup(param);
        return 0;
 }
+