summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/libc/getprotoname.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-08-27 11:13:59 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-08-27 11:13:59 +0000
commitc78ecb0edaf2a94a004a9718c25eb7ce9ac0c142 (patch)
tree0ff1bfe50fad5b002289b80a50a47980ac076a51 /cpukit/libnetworking/libc/getprotoname.c
parentUse URLs for patches. (diff)
downloadrtems-c78ecb0edaf2a94a004a9718c25eb7ce9ac0c142.tar.bz2
Stop using old-style function-definitions.
Diffstat (limited to 'cpukit/libnetworking/libc/getprotoname.c')
-rw-r--r--cpukit/libnetworking/libc/getprotoname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libnetworking/libc/getprotoname.c b/cpukit/libnetworking/libc/getprotoname.c
index 00d5e59faa..3f2278e542 100644
--- a/cpukit/libnetworking/libc/getprotoname.c
+++ b/cpukit/libnetworking/libc/getprotoname.c
@@ -45,8 +45,8 @@ extern int _proto_stayopen;
extern struct protoent *getprotobyname_static(const char *);
struct protoent *
-getprotobyname(name)
- register const char *name;
+getprotobyname(
+ const char *name)
{
register struct protoent *p;
register char **cp;