svn commit: r419346 - head/security/super/files

Ed Schouten ed at FreeBSD.org
Sun Jul 31 08:27:01 UTC 2016


Author: ed (src committer)
Date: Sun Jul 31 08:27:00 2016
New Revision: 419346
URL: https://svnweb.freebsd.org/changeset/ports/419346

Log:
  Remove local declarations of setgrent().
  
  In the nearby future, I'm going to change the prototype of the
  setgrent() function. Prevent this port from breaking by removing the
  redundant local declarations of the setgrent() function it has.
  
  PR:		211394 (exp-run)
  Reviewed by:	antoine
  Differential Revision:	https://reviews.freebsd.org/D7364

Added:
  head/security/super/files/patch-checks.c   (contents, props changed)

Added: head/security/super/files/patch-checks.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/super/files/patch-checks.c	Sun Jul 31 08:27:00 2016	(r419346)
@@ -0,0 +1,26 @@
+--- checks.c
++++ checks.c
+@@ -567,7 +567,6 @@
+ set_u_g()
+ {
+     /* Return 0 on success, -1 on failure */
+-    SETGRENT_T setgrent();
+     void endgrent();
+     int i, j, k = -1;
+     int found_gid = -1, found_egid = -1;
+@@ -1425,7 +1424,6 @@
+ char *grouplabel;	/* name or numeric form */
+ {
+     struct group *gp;
+-    SETGRENT_T setgrent();
+     void endgrent();
+     int numeric_gid;
+     int found_gid, is_numeric=0;
+@@ -1897,7 +1895,6 @@
+     struct group *gp;
+     char **mem;
+     char buf[20];
+-    SETGRENT_T setgrent();
+     void endgrent();
+ 
+     ENTRY item, *found_item;


More information about the svn-ports-head mailing list