grep-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep branch, master, updated. v2.7-16-gb8fa0e1


From: Paolo Bonzini
Subject: grep branch, master, updated. v2.7-16-gb8fa0e1
Date: Sun, 14 Nov 2010 16:25:24 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  b8fa0e106fe976912044d703c8e90d22e4d4c3d0 (commit)
      from  46dba4e75aafb76970160769b42d3f06f7eb3de5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=b8fa0e106fe976912044d703c8e90d22e4d4c3d0


commit b8fa0e106fe976912044d703c8e90d22e4d4c3d0
Author: Paolo Bonzini <address@hidden>
Date:   Sun Oct 24 12:53:35 2010 +0200

    grep: add include guards
    
    * src/system.h: Add multiple inclusion guards.
    * src/grep.h: Likewise.

diff --git a/src/grep.h b/src/grep.h
index 67ea793..72146e7 100644
--- a/src/grep.h
+++ b/src/grep.h
@@ -17,6 +17,9 @@
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
    02110-1301, USA.  */
 
+#ifndef GREP_GREP_H
+#define GREP_GREP_H 1
+
 #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 6) || __STRICT_ANSI__
 # define __attribute__(x)
 #endif
@@ -43,3 +46,5 @@ extern int match_icase;               /* -i */
 extern int match_words;                /* -w */
 extern int match_lines;                /* -x */
 extern unsigned char eolbyte;  /* -z */
+
+#endif
diff --git a/src/system.h b/src/system.h
index a0d3c4a..7429883 100644
--- a/src/system.h
+++ b/src/system.h
@@ -16,6 +16,9 @@
    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
    02110-1301, USA.  */
 
+#ifndef GREP_SYSTEM_H
+#define GREP_SYSTEM_H 1
+
 #include <fcntl.h>
 #include <unistd.h>
 #include <errno.h>
@@ -54,3 +57,4 @@ enum { EXIT_TROUBLE = 2 };
 #endif
 
 #include "unlocked-io.h"
+#endif

-----------------------------------------------------------------------

Summary of changes:
 src/grep.h   |    5 +++++
 src/system.h |    4 ++++
 2 files changed, 9 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
grep



reply via email to

[Prev in Thread] Current Thread [Next in Thread]