summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/cmd/tip/acu.c4
-rw-r--r--usr/src/cmd/tip/acutab.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/usr/src/cmd/tip/acu.c b/usr/src/cmd/tip/acu.c
index d2797f7452..7b543a9011 100644
--- a/usr/src/cmd/tip/acu.c
+++ b/usr/src/cmd/tip/acu.c
@@ -9,8 +9,6 @@
* specifies the terms and conditions for redistribution.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include "tip.h"
extern acu_t acutable[];
@@ -154,7 +152,7 @@ acutype(char *s)
acu_t *p;
if (s != NOSTR)
- for (p = acutable; p->acu_name != '\0'; p++)
+ for (p = acutable; p->acu_name != NULL; p++)
if (equal(s, p->acu_name))
return (p);
return (NOACU);
diff --git a/usr/src/cmd/tip/acutab.c b/usr/src/cmd/tip/acutab.c
index db1cdb5022..e074320ff4 100644
--- a/usr/src/cmd/tip/acutab.c
+++ b/usr/src/cmd/tip/acutab.c
@@ -9,8 +9,6 @@
* specifies the terms and conditions for redistribution.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include "tip.h"
extern int df02_dialer(char *, char *), df03_dialer(char *, char *);
@@ -67,5 +65,5 @@ acu_t acutable[] = {
"hayes", hayes_dialer, hayes_disconnect, hayes_abort,
"at", hayes_dialer, hayes_disconnect, hayes_abort,
#endif
- 0, 0, 0, 0
+ NULL, NULL, NULL, NULL
};