Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/lib/libsa add getopt prototype, and externs



details:   https://anonhg.NetBSD.org/src/rev/225f517c0fda
branches:  trunk
changeset: 471902:225f517c0fda
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Apr 14 15:23:27 1999 +0000

description:
add getopt prototype, and externs

diffstat:

 sys/lib/libsa/stand.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r a85fa00bd311 -r 225f517c0fda sys/lib/libsa/stand.h
--- a/sys/lib/libsa/stand.h     Wed Apr 14 15:22:46 1999 +0000
+++ b/sys/lib/libsa/stand.h     Wed Apr 14 15:23:27 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: stand.h,v 1.31 1999/03/31 01:50:26 cgd Exp $   */
+/*     $NetBSD: stand.h,v 1.32 1999/04/14 15:23:27 christos Exp $      */
 
 /*
  * Copyright (c) 1999 Christopher G. Demetriou.  All rights reserved.
@@ -237,6 +237,10 @@
 ssize_t        write __P((int, void *, size_t));
 off_t  lseek __P((int, off_t, int));
 int    ioctl __P((int, u_long, char *));
+
+extern int opterr, optind, optopt, optreset;
+extern char *optarg;
+int    getopt __P((int, char * const *, const char *));
     
 int    nodev __P((void));
 int    noioctl __P((struct open_file *, u_long, void *));



Home | Main Index | Thread Index | Old Index