Skip to content

Commit

Permalink
gpsd: migrate patch
Browse files Browse the repository at this point in the history
  • Loading branch information
DomT4 committed Oct 7, 2015
1 parent eb51d82 commit f1d5d5b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions gpsd/string.patch
@@ -0,0 +1,17 @@
--- gps.h.orig 2013-08-11 22:22:02.000000000 -0700
+++ gps.h 2013-08-11 22:24:03.000000000 -0700
@@ -1798,14 +1798,6 @@ extern double wgs84_separation(double, d
#define strtok_r(s,d,p) strtok_s(s,d,p)
#endif

-/* Some libc's don't have strlcat/strlcpy. Local copies are provided */
-#ifndef HAVE_STRLCAT
-size_t strlcat(/*@out@*/char *dst, /*@in@*/const char *src, size_t size);
-#endif
-#ifndef HAVE_STRLCPY
-size_t strlcpy(/*@out@*/char *dst, /*@in@*/const char *src, size_t size);
-#endif
-
#ifdef __cplusplus
} /* End of the 'extern "C"' block */
#endif

0 comments on commit f1d5d5b

Please sign in to comment.