aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2011-12-13 13:32:56 +0000
committerEd Schouten <ed@FreeBSD.org>2011-12-13 13:32:56 +0000
commitf6ab8089c6f3c01370add0f7e9a940b8bfbc8ee5 (patch)
treeff467d16b69860d02d290f3c005240ea4a39828c /include
parent1c6eeddad9c719854ab7a078ab24bbdf6a7ffed3 (diff)
downloadsrc-f6ab8089c6f3c01370add0f7e9a940b8bfbc8ee5.tar.gz
src-f6ab8089c6f3c01370add0f7e9a940b8bfbc8ee5.zip
Notes
Diffstat (limited to 'include')
-rw-r--r--include/netdb.h2
-rw-r--r--include/regex.h2
-rw-r--r--include/signal.h6
-rw-r--r--include/stdio.h4
-rw-r--r--include/stdlib.h2
5 files changed, 8 insertions, 8 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 2c2e4b3f0250..9ed6e61471e5 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -276,7 +276,7 @@ int getservbyport_r(int, const char *, struct servent *, char *,
int getservent_r(struct servent *, char *, size_t,
struct servent **);
void herror(const char *);
-__const char *hstrerror(int);
+const char *hstrerror(int);
int innetgr(const char *, const char *, const char *, const char *);
void setnetgrent(const char *);
#endif
diff --git a/include/regex.h b/include/regex.h
index fb9b99c7ad9a..e8b185cac9a5 100644
--- a/include/regex.h
+++ b/include/regex.h
@@ -51,7 +51,7 @@ typedef __size_t size_t;
typedef struct {
int re_magic;
size_t re_nsub; /* number of parenthesized subexpressions */
- __const char *re_endp; /* end pointer for REG_PEND */
+ const char *re_endp; /* end pointer for REG_PEND */
struct re_guts *re_g; /* none of your business :-) */
} regex_t;
diff --git a/include/signal.h b/include/signal.h
index 32b9e6b4ad71..e7447dfd053d 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -42,9 +42,9 @@
* XXX should enlarge these, if only to give empty names instead of bounds
* errors for large signal numbers.
*/
-extern __const char *__const sys_signame[NSIG];
-extern __const char *__const sys_siglist[NSIG];
-extern __const int sys_nsig;
+extern const char * const sys_signame[NSIG];
+extern const char * const sys_siglist[NSIG];
+extern const int sys_nsig;
#endif
#if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE
diff --git a/include/stdio.h b/include/stdio.h
index bbeb0decf8ce..b72bfd4f90c4 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -404,8 +404,8 @@ int vasprintf(char **, const char *, __va_list)
* positive errno values. Use strerror() or strerror_r() from <string.h>
* instead.
*/
-extern __const int sys_nerr;
-extern __const char *__const sys_errlist[];
+extern const int sys_nerr;
+extern const char * const sys_errlist[];
/*
* Stdio function-access interface.
diff --git a/include/stdlib.h b/include/stdlib.h
index c19eef055dc0..58362dd7a99d 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -271,7 +271,7 @@ char *devname_r(__dev_t, __mode_t, char *, int);
char *fdevname(int);
char *fdevname_r(int, char *, int);
int getloadavg(double [], int);
-__const char *
+const char *
getprogname(void);
int heapsort(void *, size_t, size_t, int (*)(const void *, const void *));