From owner-svn-src-user@FreeBSD.ORG Sat Feb 18 20:22:54 2012 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7E161065674; Sat, 18 Feb 2012 20:22:54 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id BA4B38FC12; Sat, 18 Feb 2012 20:22:54 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q1IKMs9M046670; Sat, 18 Feb 2012 20:22:54 GMT (envelope-from gabor@svn.freebsd.org) Received: (from gabor@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q1IKMs4S046667; Sat, 18 Feb 2012 20:22:54 GMT (envelope-from gabor@svn.freebsd.org) Message-Id: <201202182022.q1IKMs4S046667@svn.freebsd.org> From: Gabor Kovesdan Date: Sat, 18 Feb 2012 20:22:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r231899 - user/gabor/tre-integration/contrib/tre/lib X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Feb 2012 20:22:55 -0000 Author: gabor Date: Sat Feb 18 20:22:54 2012 New Revision: 231899 URL: http://svn.freebsd.org/changeset/base/231899 Log: - TRE coding style changes Modified: user/gabor/tre-integration/contrib/tre/lib/tre-fastmatch.h user/gabor/tre-integration/contrib/tre/lib/tre-mfastmatch.h Modified: user/gabor/tre-integration/contrib/tre/lib/tre-fastmatch.h ============================================================================== --- user/gabor/tre-integration/contrib/tre/lib/tre-fastmatch.h Sat Feb 18 20:17:16 2012 (r231898) +++ user/gabor/tre-integration/contrib/tre/lib/tre-fastmatch.h Sat Feb 18 20:22:54 2012 (r231899) @@ -9,12 +9,16 @@ #include "hashtable.h" #include "tre-internal.h" -int tre_proc_literal(fastmatch_t *, const tre_char_t *, size_t, - const char *, size_t, int); -int tre_proc_fast(fastmatch_t *, const tre_char_t *, size_t, - const char *, size_t, int); -int tre_match_fast(const fastmatch_t *fg, const void *data, size_t len, - tre_str_type_t type, int nmatch, regmatch_t pmatch[], int eflags); -void tre_free_fast(fastmatch_t *preg); +int +tre_proc_literal(fastmatch_t *, const tre_char_t *, size_t, + const char *, size_t, int); +int +tre_proc_fast(fastmatch_t *, const tre_char_t *, size_t, + const char *, size_t, int); +int +tre_match_fast(const fastmatch_t *fg, const void *data, size_t len, + tre_str_type_t type, int nmatch, regmatch_t pmatch[], int eflags); +void +tre_free_fast(fastmatch_t *preg); #endif /* TRE_FASTMATCH_H */ Modified: user/gabor/tre-integration/contrib/tre/lib/tre-mfastmatch.h ============================================================================== --- user/gabor/tre-integration/contrib/tre/lib/tre-mfastmatch.h Sat Feb 18 20:17:16 2012 (r231898) +++ user/gabor/tre-integration/contrib/tre/lib/tre-mfastmatch.h Sat Feb 18 20:22:54 2012 (r231899) @@ -42,12 +42,11 @@ typedef struct { int tre_wmcomp(wmsearch_t *wm, size_t nr, const tre_char_t *regex[], - size_t n[], int cflags); + size_t n[], int cflags); int tre_wmexec(const wmsearch_t *wm, const void *str, size_t len, - tre_str_type_t type, size_t nmatch, regmatch_t pmatch[], - int eflags); + tre_str_type_t type, size_t nmatch, regmatch_t pmatch[], + int eflags); void tre_wmfree(wmsearch_t *wm); - #endif /* TRE_MFASTMATCH_H */