浏览代码

Synchronise mygetopt.c with zzuf.

tags/v0.99.beta18
Sam Hocevar sam 15 年前
父节点
当前提交
e0e5f0bbe2
共有 2 个文件被更改,包括 10 次插入6 次删除
  1. +8
    -4
      src/mygetopt.c
  2. +2
    -2
      src/mygetopt.h

+ 8
- 4
src/mygetopt.c 查看文件

@@ -1,6 +1,6 @@
/*
* zzuf - general purpose fuzzer
* Copyright (c) 2002, 2007 Sam Hocevar <sam@hocevar.net>
* libcaca Colour ASCII-Art library
* Copyright (c) 2002-2010 Sam Hocevar <sam@hocevar.net>
* All Rights Reserved
*
* This program is free software. It comes without any warranty, to
@@ -16,11 +16,15 @@

#include "config.h"

#if defined HAVE_STDINT_H
# include <stdint.h>
#elif defined HAVE_INTTYPES_H
# include <inttypes.h>
#endif

#include <stdio.h>
#include <string.h>

#include "caca_types.h"

#include "mygetopt.h"

int myoptind = 1;


+ 2
- 2
src/mygetopt.h 查看文件

@@ -1,6 +1,6 @@
/*
* zzuf - general purpose fuzzer
* Copyright (c) 2002, 2007 Sam Hocevar <sam@hocevar.net>
* libcaca Colour ASCII-Art library
* Copyright (c) 2002-2010 Sam Hocevar <sam@hocevar.net>
* All Rights Reserved
*
* This program is free software. It comes without any warranty, to


正在加载...
取消
保存