Skip to content

Commit

Permalink
use same ifndef/define format for all headers
Browse files Browse the repository at this point in the history
Signed-off-by: Long Wang <w@laoqinren.net>
  • Loading branch information
0x0916 committed Jul 5, 2017
1 parent 74a99f4 commit 3705503
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/include/getline.h
Expand Up @@ -27,8 +27,8 @@
* SUCH DAMAGE.
*/

#ifndef _getline_h
#define _getline_h
#ifndef _GETLINE_H
#define _GETLINE_H

#include <stdio.h>

Expand Down
4 changes: 2 additions & 2 deletions src/include/getsubopt.h
@@ -1,4 +1,4 @@
#ifndef _getsubopt_h
#define _getsubopt_h
#ifndef _GETSUBOPT_H
#define _GETSUBOPT_H
int getsubopt (char **optionp, char *const *tokens, char **valuep);
#endif
4 changes: 2 additions & 2 deletions src/include/lxcmntent.h
Expand Up @@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef _lxcmntent_h
#define _lxcmntent_h
#ifndef _LXCMNTENT_H
#define _LXCMNTENT_H

#if IS_BIONIC
struct mntent
Expand Down
4 changes: 2 additions & 2 deletions src/include/openpty.h
Expand Up @@ -21,8 +21,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef _openpty_h
#define _openpty_h
#ifndef _OPENPTY_H
#define _OPENPTY_H

#include <termios.h>
#include <sys/ioctl.h>
Expand Down
4 changes: 2 additions & 2 deletions src/lxc/lsm/lsm.h
Expand Up @@ -21,8 +21,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifndef __lxc_lsm_h
#define __lxc_lsm_h
#ifndef __LXC_LSM_H
#define __LXC_LSM_H

struct lxc_conf;

Expand Down

0 comments on commit 3705503

Please sign in to comment.