diff options
author | Bruno Haible <bruno@clisp.org> | 2006-07-31 16:41:58 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:13:44 +0200 |
commit | e0fe58bf6ef03eb4c6fb0235f97c4c5f3089c347 (patch) | |
tree | 7c6e3f84710ce4aa3a13394fa71379f0fb7dc8be /gettext-tools/src/write-stringtable.c | |
parent | fd1b04b5dffec55351cbb68005e42b2fb9f8f70e (diff) | |
download | external_gettext-e0fe58bf6ef03eb4c6fb0235f97c4c5f3089c347.zip external_gettext-e0fe58bf6ef03eb4c6fb0235f97c4c5f3089c347.tar.gz external_gettext-e0fe58bf6ef03eb4c6fb0235f97c4c5f3089c347.tar.bz2 |
Rename strstr to c_strstr.
Diffstat (limited to 'gettext-tools/src/write-stringtable.c')
-rw-r--r-- | gettext-tools/src/write-stringtable.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gettext-tools/src/write-stringtable.c b/gettext-tools/src/write-stringtable.c index 6b0dfa3..7a5fa5f 100644 --- a/gettext-tools/src/write-stringtable.c +++ b/gettext-tools/src/write-stringtable.c @@ -1,5 +1,5 @@ /* Writing NeXTstep/GNUstep .strings files. - Copyright (C) 2003 Free Software Foundation, Inc. + Copyright (C) 2003, 2006 Free Software Foundation, Inc. Written by Bruno Haible <bruno@clisp.org>, 2003. This program is free software; you can redistribute it and/or modify @@ -32,7 +32,7 @@ #include "msgl-ascii.h" #include "msgl-iconv.h" #include "po-charset.h" -#include "strstr.h" +#include "c-strstr.h" #include "write-po.h" /* The format of NeXTstep/GNUstep .strings files is documented in @@ -112,7 +112,7 @@ write_message (FILE *fp, const message_ty *mp, size_t page_width, bool debug) /* Test whether it is safe to output the comment in C style, or whether we need C++ style for it. */ - if (strstr (s, "*/") == NULL) + if (c_strstr (s, "*/") == NULL) { fputs ("/*", fp); if (*s != '\0' && *s != '\n' && *s != ' ') @@ -155,7 +155,7 @@ write_message (FILE *fp, const message_ty *mp, size_t page_width, bool debug) /* Test whether it is safe to output the comment in C style, or whether we need C++ style for it. */ - if (strstr (s, "*/") == NULL) + if (c_strstr (s, "*/") == NULL) { fputs ("/* Comment: ", fp); fputs (s, fp); @@ -237,7 +237,7 @@ write_message (FILE *fp, const message_ty *mp, size_t page_width, bool debug) /* Output the msgstr as a comment, so that at runtime propertyListFromStringsFileFormat ignores it. */ - if (strstr (mp->msgstr, "*/") == NULL) + if (c_strstr (mp->msgstr, "*/") == NULL) { fputs (" /* = ", fp); write_escaped_string (fp, mp->msgstr); |