Skip to content

Commit f97249f

Browse files
committed
shims: clean up trailing characters in android shims
This would cause a warning to be emitted due to the trailing ). Clean it up.
1 parent 012f48b commit f97249f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/shims/android_stubs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@
3131
# define TRASHIT(x) do {(x) = (void *)-1;} while (0)
3232
#endif /* TRASHIT */
3333

34-
#endif /* __DISPATCH__ANDROID__STUBS__INTERNAL */
34+
#endif /* __DISPATCH__ANDROID__STUBS__INTERNAL */

src/shims/getprogname.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424

2525
#if !HAVE_GETPROGNAME
2626

27-
#ifdef __ANDROID__
27+
#if defined(__ANDROID__)
2828
extern const char *__progname;
29-
#endif /* __ANDROID */)
29+
#endif /* __ANDROID */
3030

3131
static inline char *
3232
getprogname(void)

0 commit comments

Comments
 (0)