non-ansi function in openbsd-compat

Dave Dykstra
2001-06-07T17:29:57Z

I ran across one file in the openbsd-compat directory, strmode.c, that was
not using an ANSI C function declaration.  One compiler (HPUX's cc -Ae)
wouldn't let it pass.  Here's a patch.

- Dave Dykstra


*** openbsd-compat/strmode.c.O	Wed Jun  6 17:32:44 2001
--- openbsd-compat/strmode.c	Wed Jun  6 17:32:59 2001
***************
*** 43,51 ****
  #include <string.h>

  void
! strmode(mode, p)
! 	register mode_t mode;
! 	register char *p;
  {
  	 /* print type */
  	switch (mode & S_IFMT) {
--- 43,49 ----
  #include <string.h>

  void
! strmode(register mode_t mode, register char *p)
  {
  	 /* print type */
  	switch (mode & S_IFMT) {