diff options
author | obrien <obrien@FreeBSD.org> | 2001-12-10 08:09:49 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-12-10 08:09:49 +0000 |
commit | 7fd9a6a23abf2fb25b5925b444d0eed93c8d06f6 (patch) | |
tree | b580d740769b3b201f76ad941e8b0b8ca3015bc0 /sys/netgraph/ng_parse.c | |
parent | 957a76ab241ec60b1b21124054416935dba9688b (diff) | |
download | FreeBSD-src-7fd9a6a23abf2fb25b5925b444d0eed93c8d06f6.zip FreeBSD-src-7fd9a6a23abf2fb25b5925b444d0eed93c8d06f6.tar.gz |
Update to C99, s/__FUNCTION__/__func__/,
also don't use ANSI string concatenation.
Diffstat (limited to 'sys/netgraph/ng_parse.c')
-rw-r--r-- | sys/netgraph/ng_parse.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/netgraph/ng_parse.c b/sys/netgraph/ng_parse.c index fa29c6b..a69cfa6 100644 --- a/sys/netgraph/ng_parse.c +++ b/sys/netgraph/ng_parse.c @@ -377,7 +377,7 @@ ng_int8_unparse(const struct ng_parse_type *type, fval = (u_int8_t)val; break; default: - panic("%s: unknown type", __FUNCTION__); + panic("%s: unknown type", __func__); #ifdef RESTARTABLE_PANICS return(0); #endif @@ -474,7 +474,7 @@ ng_int16_unparse(const struct ng_parse_type *type, fval = (u_int16_t)val; break; default: - panic("%s: unknown type", __FUNCTION__); + panic("%s: unknown type", __func__); #ifdef RESTARTABLE_PANICS return(0); #endif @@ -571,7 +571,7 @@ ng_int32_unparse(const struct ng_parse_type *type, fval = (u_int32_t)val; break; default: - panic("%s: unknown type", __FUNCTION__); + panic("%s: unknown type", __func__); #ifdef RESTARTABLE_PANICS return(0); #endif @@ -667,7 +667,7 @@ ng_int64_unparse(const struct ng_parse_type *type, fval = (u_int64_t)val; break; default: - panic("%s: unknown type", __FUNCTION__); + panic("%s: unknown type", __func__); #ifdef RESTARTABLE_PANICS return(0); #endif @@ -1411,7 +1411,7 @@ ng_get_composite_elem_default(const struct ng_parse_type *type, break; } default: - panic("%s", __FUNCTION__); + panic("%s", __func__); } /* Default to element type default */ @@ -1458,7 +1458,7 @@ ng_get_composite_len(const struct ng_parse_type *type, return fi->length; } default: - panic("%s", __FUNCTION__); + panic("%s", __func__); } return (0); } @@ -1495,7 +1495,7 @@ ng_get_composite_etype(const struct ng_parse_type *type, break; } default: - panic("%s", __FUNCTION__); + panic("%s", __func__); } return (etype); } |