7f396ae51fb175f8a7785556f329d3391596b4b0 braney Mon Feb 23 16:07:03 2015 -0800 fix duplicated lines in group menu bug #14878 diff --git src/hg/inc/grp.h src/hg/inc/grp.h index 00e1939..d534be5 100644 --- src/hg/inc/grp.h +++ src/hg/inc/grp.h @@ -56,17 +56,20 @@ /* -------------------------------- End autoSql Generated Code -------------------------------- */ int grpCmpPriority(const void *va, const void *vb); /* Compare to sort based on priority. */ int grpCmpName(const void *va, const void *vb); /* Compare to sort based on name. */ void grpSuperimpose(struct grp **listA, struct grp **listB); /* Replace all the grps in listA with the same names of those in * listB. Ones in B that aren't the same get put in A too. * The function returns with the new list A, and the empty list * B. */ +struct grp *grpDup(struct grp *grp); +/* duplicate a grp structure */ + #endif /* GRP_H */