]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
use same ifndef/define format for all headers 1676/head
authorLong Wang <w@laoqinren.net>
Wed, 5 Jul 2017 04:20:28 +0000 (12:20 +0800)
committerLong Wang <w@laoqinren.net>
Wed, 5 Jul 2017 06:06:01 +0000 (14:06 +0800)
Signed-off-by: Long Wang <w@laoqinren.net>
src/include/getline.h
src/include/getsubopt.h
src/include/lxcmntent.h
src/include/openpty.h
src/lxc/lsm/lsm.h

index ddf4f157ff76b6a77217e0e0a9e40eba3bd54647..68452daf18dbee4f8141086d3a56d1252e14ba75 100644 (file)
@@ -27,8 +27,8 @@
  * SUCH DAMAGE.
  */
 
-#ifndef _getline_h
-#define _getline_h
+#ifndef _GETLINE_H
+#define _GETLINE_H
 
 #include <stdio.h>
 
index b4e16223f8e50f0173f253703102d432f051c365..e45cf66b01cc17fbb93287033d3e1406ec93fd87 100644 (file)
@@ -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
index 25df5b96fd510437c7e3e40b6c196fba83a2ec85..1d45d4826b3f68e4f9e8feb5a9598c50ffb489c5 100644 (file)
@@ -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
index ddc9c81131e01a0bfd3dad7c208a3ff7d94003b9..6e7bf8d2d15446fe422ee0ad56dbf7109c59b09a 100644 (file)
@@ -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>
index d6a7aac0dd8c0c419b5653d895bc94179b29189e..b915e8ddd355f5abc437d1f4e55a0ec073d15515 100644 (file)
@@ -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;