]> git.sesse.net Git - x264/blobdiff - extras/getopt.c
NV21 input support
[x264] / extras / getopt.c
index 9fb69b1afc3f5893c018c57ba4c01d05cc417272..434efe7e71e57b0123a1e03ddb73908857cfe2d5 100644 (file)
@@ -18,7 +18,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    02111-1307 USA.  */
 \f
 /* This tells Alpha OSF/1 not to define a getopt prototype in <stdio.h>.
@@ -980,6 +980,16 @@ getopt (argc, argv, optstring)
                           0);
 }
 
+int getopt_long (argc, argv, optstring, long_options, opt_index)
+     int argc;
+     char *const *argv;
+     const char *optstring;
+     const struct option *long_options;
+     int *opt_index;
+{
+  return _getopt_internal (argc, argv, optstring, long_options, opt_index, 0);
+}
+
 #endif /* Not ELIDE_CODE.  */
 \f
 #ifdef TEST