use same ifndef/define format for all headers

Signed-off-by: Long Wang <w@laoqinren.net>
This commit is contained in:
Long Wang 2017-07-05 12:20:28 +08:00
parent 74a99f40b3
commit 3705503ac3
5 changed files with 10 additions and 10 deletions

View File

@ -27,8 +27,8 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#ifndef _getline_h #ifndef _GETLINE_H
#define _getline_h #define _GETLINE_H
#include <stdio.h> #include <stdio.h>

View File

@ -1,4 +1,4 @@
#ifndef _getsubopt_h #ifndef _GETSUBOPT_H
#define _getsubopt_h #define _GETSUBOPT_H
int getsubopt (char **optionp, char *const *tokens, char **valuep); int getsubopt (char **optionp, char *const *tokens, char **valuep);
#endif #endif

View File

@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifndef _lxcmntent_h #ifndef _LXCMNTENT_H
#define _lxcmntent_h #define _LXCMNTENT_H
#if IS_BIONIC #if IS_BIONIC
struct mntent struct mntent

View File

@ -21,8 +21,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifndef _openpty_h #ifndef _OPENPTY_H
#define _openpty_h #define _OPENPTY_H
#include <termios.h> #include <termios.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>

View File

@ -21,8 +21,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifndef __lxc_lsm_h #ifndef __LXC_LSM_H
#define __lxc_lsm_h #define __LXC_LSM_H
struct lxc_conf; struct lxc_conf;