svn commit: r297828 - head/lib/libc/net
Pedro F. Giffuni
pfg at FreeBSD.org
Mon Apr 11 18:08:13 UTC 2016
Author: pfg
Date: Mon Apr 11 18:08:12 2016
New Revision: 297828
URL: https://svnweb.freebsd.org/changeset/base/297828
Log:
libc: cleanup unnecessary semicolons.
Found with devel/coccinelle.
Modified:
head/lib/libc/net/getservent.c
Modified: head/lib/libc/net/getservent.c
==============================================================================
--- head/lib/libc/net/getservent.c Mon Apr 11 17:57:54 2016 (r297827)
+++ head/lib/libc/net/getservent.c Mon Apr 11 18:08:12 2016 (r297828)
@@ -321,7 +321,7 @@ files_servent(void *retval, void *mdata,
break;
default:
return NS_NOTFOUND;
- };
+ }
serv = va_arg(ap, struct servent *);
buffer = va_arg(ap, char *);
@@ -463,7 +463,7 @@ files_setservent(void *retval, void *mda
break;
default:
break;
- };
+ }
st->compat_mode_active = 0;
return (NS_UNAVAIL);
@@ -522,7 +522,7 @@ db_servent(void *retval, void *mdata, va
break;
default:
return NS_NOTFOUND;
- };
+ }
serv = va_arg(ap, struct servent *);
buffer = va_arg(ap, char *);
@@ -641,7 +641,7 @@ db_setservent(void *retval, void *mdata,
break;
default:
break;
- };
+ }
return (NS_UNAVAIL);
}
@@ -694,7 +694,7 @@ nis_servent(void *retval, void *mdata, v
break;
default:
return NS_NOTFOUND;
- };
+ }
serv = va_arg(ap, struct servent *);
buffer = va_arg(ap, char *);
@@ -781,7 +781,7 @@ nis_servent(void *retval, void *mdata, v
}
}
break;
- };
+ }
rv = parse_result(serv, buffer, bufsize, resultbuf,
resultbuflen, errnop);
@@ -815,7 +815,7 @@ nis_setservent(void *result, void *mdata
break;
default:
break;
- };
+ }
return (NS_UNAVAIL);
}
More information about the svn-src-all
mailing list