Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(386)

Unified Diff: flower/include/libc-extension.hh

Issue 346930044: Issue 5410: Fix warnings in flower (Closed)
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | flower/include/polynomial.hh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: flower/include/libc-extension.hh
diff --git a/flower/include/libc-extension.hh b/flower/include/libc-extension.hh
index 04056e6c493b450fb2d5bc950cc90938b3c7a291..052a249fdfa8c6e6f6c95e1a3eb5eff3a6bde238 100644
--- a/flower/include/libc-extension.hh
+++ b/flower/include/libc-extension.hh
@@ -26,22 +26,14 @@ using namespace std;
#include "config.hh"
-char *strnlwr (char *start, int n);
-char *strnupr (char *start, int n);
+char *strnlwr (char *start, size_t n);
+char *strnupr (char *start, size_t n);
#if ! HAVE_MEMMEM /* GNU extension. */
void *memmem (void const *haystack, int haystack_len,
void const *needle, int needle_len);
#endif /* HAVE_MEMMEM */
-#if ! HAVE_MEMRCHR
-unsigned char *memrchr (unsigned char const *p, int n, char c);
-#endif
-
-#if ! HAVE_MEMREV
-unsigned char *memrev (unsigned char *byte, int length_i);
-#endif
-
double my_round (double);
/* namespace std { */
« no previous file with comments | « no previous file | flower/include/polynomial.hh » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b