diff options
author | Geir Istad <gistad@cisco.com> | 2017-09-29 07:01:23 +0200 |
---|---|---|
committer | Geir Istad <gistad@cisco.com> | 2017-09-29 07:01:23 +0200 |
commit | 481ec0c35a920982ded58d8f31cecb3c610e8794 (patch) | |
tree | b94d20b44b8ef7b67d72191f262507d4c1ded5bc /include/getopt_s.h | |
parent | fc8a6081d59b11728449af1bad2df2e8d1dea4bb (diff) | |
download | libsrtp2-481ec0c35a920982ded58d8f31cecb3c610e8794.tar.gz |
include/getopt_s.h: Apply clang-format
Diffstat (limited to 'include/getopt_s.h')
-rw-r--r-- | include/getopt_s.h | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/include/getopt_s.h b/include/getopt_s.h index 63278e9..53fb25b 100644 --- a/include/getopt_s.h +++ b/include/getopt_s.h @@ -7,26 +7,26 @@ * */ /* - * + * * Copyright (c) 2001-2017 Cisco Systems, Inc. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: - * + * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. - * + * * Redistributions in binary form must reproduce the above * copyright notice, this list of conditions and the following * disclaimer in the documentation and/or other materials provided * with the distribution. - * + * * Neither the name of the Cisco Systems, Inc. nor the names of its * contributors may be used to endorse or promote products derived * from this software without specific prior written permission. - * + * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS @@ -49,17 +49,16 @@ extern "C" { #endif -/* +/* * getopt_s(), optarg_s, and optind_s are small, locally defined * versions of the POSIX standard getopt() interface. */ - -int -getopt_s(int argc, char * const argv[], const char *optstring); -extern char *optarg_s; /* defined in getopt.c */ +int getopt_s(int argc, char *const argv[], const char *optstring); + +extern char *optarg_s; /* defined in getopt.c */ -extern int optind_s; /* defined in getopt.c */ +extern int optind_s; /* defined in getopt.c */ #ifdef __cplusplus } |