Date: Sat, 18 Feb 2012 20:22:54 +0000 (UTC) From: Gabor Kovesdan <gabor@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r231899 - user/gabor/tre-integration/contrib/tre/lib Message-ID: <201202182022.q1IKMs4S046667@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202182022.q1IKMs4S046667>