projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04b8360
)
add multiple inclusion guard to locale_impl.h
author
Rich Felker
<dalias@aerifal.cx>
Sun, 7 Jun 2015 03:09:16 +0000
(
03:09
+0000)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 7 Jun 2015 03:09:16 +0000
(
03:09
+0000)
src/internal/locale_impl.h
patch
|
blob
|
history
diff --git
a/src/internal/locale_impl.h
b/src/internal/locale_impl.h
index db915ca21b90698732bb4a683c6b797359819e88..85db793312e81b120a73ce63548c3007b02475fb 100644
(file)
--- a/
src/internal/locale_impl.h
+++ b/
src/internal/locale_impl.h
@@
-1,3
+1,6
@@
+#ifndef _LOCALE_IMPL_H
+#define _LOCALE_IMPL_H
+
#include <locale.h>
#include <stdlib.h>
#include "libc.h"
@@
-30,3
+33,5
@@
const char *__lctrans_cur(const char *);
#define CURRENT_LOCALE (__pthread_self()->locale)
#define CURRENT_UTF8 (!!__pthread_self()->locale->cat[LC_CTYPE])
+
+#endif