This patch adds correct "vim:" syntax hints to .c and .h files. This will cause vim to correctly highlight/indent/etc. --- isys/auditd.c | 4 +--- isys/auditd.h | 5 ++--- isys/cpio.c | 2 ++ isys/cpio.h | 2 ++ isys/dasd.c | 2 +- isys/devices.c | 2 ++ isys/devices.h | 2 ++ isys/eddsupport.c | 2 ++ isys/eddsupport.h | 2 ++ isys/ethtool.c | 2 ++ isys/ethtool.h | 2 ++ isys/iface.c | 2 ++ isys/iface.h | 2 ++ isys/imount.c | 2 ++ isys/imount.h | 2 ++ isys/isofs.c | 2 ++ isys/isys.c | 2 +- isys/isys.h | 2 ++ isys/lang.c | 2 ++ isys/lang.h | 2 ++ isys/linkdetect.c | 2 ++ isys/minifind.c | 2 ++ isys/minifind.h | 2 ++ isys/str.c | 2 +- isys/str.h | 2 +- isys/stubs.h | 2 ++ isys/uncpio.c | 2 ++ isys/vio.c | 2 ++ loader/cdinstall.c | 2 +- loader/cdinstall.h | 2 ++ loader/copy.c | 2 ++ loader/copy.h | 2 ++ loader/devices.h | 2 ++ loader/devt.h | 2 ++ loader/dirbrowser.c | 2 ++ loader/dirbrowser.h | 2 ++ loader/driverdisk.c | 2 ++ loader/driverdisk.h | 2 ++ loader/driverselect.c | 2 ++ loader/fwloader.c | 5 +---- loader/fwloader.h | 5 ++--- loader/getparts.c | 2 ++ loader/getparts.h | 2 ++ loader/hardware.c | 2 ++ loader/hardware.h | 2 ++ loader/hdinstall.c | 2 +- loader/hdinstall.h | 2 ++ loader/ibft.c | 2 ++ loader/ibft.h | 2 ++ loader/init.c | 3 +-- loader/init.h | 2 ++ loader/kbd.c | 2 ++ loader/kbd.h | 2 ++ loader/kickstart.c | 2 +- loader/kickstart.h | 2 ++ loader/lang.c | 2 ++ loader/lang.h | 2 ++ loader/loader.c | 2 +- loader/loader.h | 2 ++ loader/loadermisc.c | 2 ++ loader/loadermisc.h | 2 ++ loader/log.c | 2 +- loader/log.h | 2 ++ loader/mediacheck.c | 2 ++ loader/mediacheck.h | 2 ++ loader/method.c | 2 ++ loader/method.h | 2 ++ loader/mkctype.c | 2 ++ loader/moduleinfo.c | 2 ++ loader/moduleinfo.h | 2 ++ loader/modules.c | 2 ++ loader/modules.h | 2 ++ loader/net.c | 2 +- loader/net.h | 2 ++ loader/nfsinstall.c | 2 +- loader/nfsinstall.h | 2 ++ loader/selinux.c | 2 ++ loader/selinux.h | 2 ++ loader/shutdown.c | 2 +- loader/telnet.c | 2 ++ loader/telnet.h | 2 ++ loader/telnetd.c | 2 ++ loader/telnetd.h | 2 ++ loader/udelay.h | 5 ++--- loader/undomounts.c | 2 ++ loader/urlinstall.c | 2 +- loader/urlinstall.h | 2 ++ loader/urls.c | 2 ++ loader/urls.h | 2 ++ loader/windows.c | 2 +- loader/windows.h | 2 ++ mini-wm.c | 2 ++ utils/geninitrdsz.c | 2 ++ utils/mapshdr.c | 2 ++ utils/mk-s390-cdboot.c | 2 ++ utils/modlist.c | 2 ++ utils/readmap.c | 2 ++ utils/snarffont.c | 2 ++ xutils.c | 2 ++ 99 files changed, 181 insertions(+), 32 deletions(-) diff --git a/isys/auditd.c b/isys/auditd.c index 8eef4f3..f050550 100644 --- a/isys/auditd.c +++ b/isys/auditd.c @@ -130,6 +130,4 @@ int main(void) { } #endif /* STANDALONE */ -/* - * vim:ts=8:sw=4:sts=4:et - */ +/* vim:set sw=8 noet */ diff --git a/isys/auditd.h b/isys/auditd.h index 55ec5ce..1619b70 100644 --- a/isys/auditd.h +++ b/isys/auditd.h @@ -25,6 +25,5 @@ extern int audit_daemonize(void); #endif /* ISYS_AUDIT_H */ -/* - * vim:ts=8:sw=4:sts=4:et - */ + +/* vim:set sw=8 noet */ diff --git a/isys/cpio.c b/isys/cpio.c index fd83605..bebc795 100644 --- a/isys/cpio.c +++ b/isys/cpio.c @@ -44,3 +44,5 @@ int installCpioFile(gzFile fd, char * cpioName, char * outName, int inWin) { return 0; } + +/* vim:set sw=8 noet */ diff --git a/isys/cpio.h b/isys/cpio.h index 4cbb7c0..6f76a6d 100644 --- a/isys/cpio.h +++ b/isys/cpio.h @@ -100,3 +100,5 @@ const char *myCpioStrerror(int rc); int installCpioFile(gzFile fd, char * cpioName, char * outName, int inWin); #endif + +/* vim:set sw=8 noet */ diff --git a/isys/dasd.c b/isys/dasd.c index 726281a..3b07f25 100644 --- a/isys/dasd.c +++ b/isys/dasd.c @@ -177,4 +177,4 @@ char *getDasdPorts() { #endif } -/* vim:set shiftwidth=4 softtabstop=4: */ +/* vim:set sw=8 noet */ diff --git a/isys/devices.c b/isys/devices.c index 98c8769..ef4384d 100644 --- a/isys/devices.c +++ b/isys/devices.c @@ -215,3 +215,5 @@ netdone: return ret; } + +/* vim:set sw=8 noet */ diff --git a/isys/devices.h b/isys/devices.h index 9428a77..9f636ad 100644 --- a/isys/devices.h +++ b/isys/devices.h @@ -40,3 +40,5 @@ struct device { struct device **getDevices(enum deviceType type); #endif + +/* vim:set sw=8 noet */ diff --git a/isys/eddsupport.c b/isys/eddsupport.c index c50278e..c2b7a3c 100644 --- a/isys/eddsupport.c +++ b/isys/eddsupport.c @@ -337,3 +337,5 @@ char * getBiosDisk(char *biosStr) { return NULL; } + +/* vim:set sw=8 noet */ diff --git a/isys/eddsupport.h b/isys/eddsupport.h index 77fc4c4..ec7d3f4 100644 --- a/isys/eddsupport.h +++ b/isys/eddsupport.h @@ -26,3 +26,5 @@ char* getBiosDisk(char *); #endif + +/* vim:set sw=8 noet */ diff --git a/isys/ethtool.c b/isys/ethtool.c index 871f1d4..eb4e592 100644 --- a/isys/ethtool.c +++ b/isys/ethtool.c @@ -117,3 +117,5 @@ int identifyNIC(char *iface, int seconds) { return 0; } + +/* vim:set sw=8 noet */ diff --git a/isys/ethtool.h b/isys/ethtool.h index 57b4ffc..e661ceb 100644 --- a/isys/ethtool.h +++ b/isys/ethtool.h @@ -39,3 +39,5 @@ int setEthtoolSettings(char * dev, ethtool_speed speed, ethtool_duplex duplex); int identifyNIC(char *iface, int seconds); #endif + +/* vim:set sw=8 noet */ diff --git a/isys/iface.c b/isys/iface.c index c1251be..1af53ef 100644 --- a/isys/iface.c +++ b/isys/iface.c @@ -540,3 +540,5 @@ ifacemtu_error1: return ret; } + +/* vim:set sw=8 noet */ diff --git a/isys/iface.h b/isys/iface.h index 3f97935..17696ec 100644 --- a/isys/iface.h +++ b/isys/iface.h @@ -164,3 +164,5 @@ int iface_start_NetworkManager(void); int iface_set_interface_mtu(char *ifname, int mtu); #endif /* ISYSIFACE_H */ + +/* vim:set sw=8 noet */ diff --git a/isys/imount.c b/isys/imount.c index a8e346e..1dffa54 100644 --- a/isys/imount.c +++ b/isys/imount.c @@ -288,3 +288,5 @@ static int mkdirIfNone(char * directory) { return IMOUNT_ERR_ERRNO; } + +/* vim:set sw=8 noet */ diff --git a/isys/imount.h b/isys/imount.h index 9fa6769..108f535 100644 --- a/isys/imount.h +++ b/isys/imount.h @@ -46,3 +46,5 @@ int mkdirChain(char * origChain); int mountMightSucceedLater(int mountRc); #endif + +/* vim:set sw=8 noet */ diff --git a/isys/isofs.c b/isys/isofs.c index bb5a44a..404283e 100644 --- a/isys/isofs.c +++ b/isys/isofs.c @@ -53,3 +53,5 @@ int fileIsIso(const char * file) { close(fd); return 0; } + +/* vim:set sw=8 noet */ diff --git a/isys/isys.c b/isys/isys.c index 13173cc..997f37e 100644 --- a/isys/isys.c +++ b/isys/isys.c @@ -733,4 +733,4 @@ static PyObject * doGetAnacondaVersion(PyObject * s, PyObject * args) { return Py_BuildValue("s", VERSION); } -/* vim:set shiftwidth=4 softtabstop=4: */ +/* vim:set sw=8 noet */ diff --git a/isys/isys.h b/isys/isys.h index 15e461e..439896c 100644 --- a/isys/isys.h +++ b/isys/isys.h @@ -41,3 +41,5 @@ int isLdlDasd(char * dev); int isUsableDasd(char *device); #endif + +/* vim:set sw=8 noet */ diff --git a/isys/lang.c b/isys/lang.c index b6e2a36..b038bb4 100644 --- a/isys/lang.c +++ b/isys/lang.c @@ -205,3 +205,5 @@ int isysLoadKeymap(char * keymap) { return rc; } + +/* vim:set sw=8 noet */ diff --git a/isys/lang.h b/isys/lang.h index a08adbd..5002091 100644 --- a/isys/lang.h +++ b/isys/lang.h @@ -42,3 +42,5 @@ int isysLoadKeymap(char * keymap); int isysSetUnicodeKeymap(void); #endif + +/* vim:set sw=8 noet */ diff --git a/isys/linkdetect.c b/isys/linkdetect.c index f97a291..672fe1e 100644 --- a/isys/linkdetect.c +++ b/isys/linkdetect.c @@ -200,3 +200,5 @@ int main(int argc, char **argv) { return 0; } #endif + +/* vim:set sw=8 noet */ diff --git a/isys/minifind.c b/isys/minifind.c index f483055..d45ef73 100644 --- a/isys/minifind.c +++ b/isys/minifind.c @@ -75,3 +75,5 @@ char *minifind(char *dir, char *search, struct findNode *list) } return 0; } + +/* vim:set sw=8 noet */ diff --git a/isys/minifind.h b/isys/minifind.h index 4f72525..5ec18e0 100644 --- a/isys/minifind.h +++ b/isys/minifind.h @@ -40,3 +40,5 @@ char *stripLastChar(char *in); char *minifind(char *dir, char *search, struct findNode *list); #endif /* MINIFIND_H */ + +/* vim:set sw=8 noet */ diff --git a/isys/str.c b/isys/str.c index cf05473..b887ca7 100644 --- a/isys/str.c +++ b/isys/str.c @@ -122,4 +122,4 @@ int strcount(char *str, int ch) { return retval; } -/* vim:set shiftwidth=4 softtabstop=4: */ +/* vim:set sw=8 noet */ diff --git a/isys/str.h b/isys/str.h index d296021..a56cd1d 100644 --- a/isys/str.h +++ b/isys/str.h @@ -26,4 +26,4 @@ char *str2lower(char *str); int strcount(char *str, int ch); char *strindex(char *str, int ch); -/* vim:set shiftwidth=4 softtabstop=4: */ +/* vim:set sw=8 noet */ diff --git a/isys/stubs.h b/isys/stubs.h index 40ecb22..a481a4d 100644 --- a/isys/stubs.h +++ b/isys/stubs.h @@ -42,3 +42,5 @@ #endif #endif + +/* vim:set sw=8 noet */ diff --git a/isys/uncpio.c b/isys/uncpio.c index 171eb6b..410ae82 100644 --- a/isys/uncpio.c +++ b/isys/uncpio.c @@ -796,3 +796,5 @@ int myCpioFilterArchive(gzFile inStream, gzFile outStream, char ** patterns) { return 0; } + +/* vim:set sw=8 noet */ diff --git a/isys/vio.c b/isys/vio.c index 9b06a3e..a7ea344 100644 --- a/isys/vio.c +++ b/isys/vio.c @@ -104,3 +104,5 @@ int isVioConsole(void) { return isviocons; #endif } + +/* vim:set sw=8 noet */ diff --git a/loader/cdinstall.c b/loader/cdinstall.c index 3ccc332..ba5c2a3 100644 --- a/loader/cdinstall.c +++ b/loader/cdinstall.c @@ -506,4 +506,4 @@ int kickstartFromCD(char *kssrc) { return 1; } -/* vim:set shiftwidth=4 softtabstop=4 et */ +/* vim:set sw=8 noet */ diff --git a/loader/cdinstall.h b/loader/cdinstall.h index a0ecbc3..ceafcb0 100644 --- a/loader/cdinstall.h +++ b/loader/cdinstall.h @@ -32,3 +32,5 @@ void setKickstartCD(struct loaderData_s * loaderData, int argc, int kickstartFromCD(char *kssrc); #endif + +/* vim:set sw=8 noet */ diff --git a/loader/copy.c b/loader/copy.c index 1c61233..5edb753 100644 --- a/loader/copy.c +++ b/loader/copy.c @@ -139,3 +139,5 @@ int copyDirectory(char * from, char * to, void (*warnFn)(char *), return 0; } + +/* vim:set sw=8 noet */ diff --git a/loader/copy.h b/loader/copy.h index 1153bf8..289bab7 100644 --- a/loader/copy.h +++ b/loader/copy.h @@ -24,3 +24,5 @@ int copyDirectory (char *from, char *to, void (*warnFn)(char *), void (*errorFn)(char *)); #endif + +/* vim:set sw=8 noet */ diff --git a/loader/devices.h b/loader/devices.h index 974e792..6b7f758 100644 --- a/loader/devices.h +++ b/loader/devices.h @@ -101,3 +101,5 @@ struct devnode devnodes[] = { }; #endif + +/* vim:set sw=8 noet */ diff --git a/loader/devt.h b/loader/devt.h index 364a134..dd244ff 100644 --- a/loader/devt.h +++ b/loader/devt.h @@ -37,3 +37,5 @@ #define dev_t dev_t #endif + +/* vim:set sw=8 noet */ diff --git a/loader/dirbrowser.c b/loader/dirbrowser.c index 5632984..32dab06 100644 --- a/loader/dirbrowser.c +++ b/loader/dirbrowser.c @@ -196,3 +196,5 @@ int main(int argc, char ** argv) { return 0; } #endif + +/* vim:set sw=8 noet */ diff --git a/loader/dirbrowser.h b/loader/dirbrowser.h index 7fb22f2..613f8e7 100644 --- a/loader/dirbrowser.h +++ b/loader/dirbrowser.h @@ -26,3 +26,5 @@ char * newt_select_file(char * title, char * text, char * dirname, int (*filterfunc)(char *, struct dirent *)); #endif + +/* vim:set sw=8 noet */ diff --git a/loader/driverdisk.c b/loader/driverdisk.c index 5f8d43c..2dbce61 100644 --- a/loader/driverdisk.c +++ b/loader/driverdisk.c @@ -623,3 +623,5 @@ static void getDDFromDev(struct loaderData_s * loaderData, char * dev) { umount("/tmp/drivers"); unlink("/tmp/drivers"); } + +/* vim:set sw=8 noet */ diff --git a/loader/driverdisk.h b/loader/driverdisk.h index e6e919d..965abbe 100644 --- a/loader/driverdisk.h +++ b/loader/driverdisk.h @@ -40,3 +40,5 @@ void useKickstartDD(struct loaderData_s * loaderData, int argc, void getDDFromSource(struct loaderData_s * loaderData, char * src); #endif + +/* vim:set sw=8 noet */ diff --git a/loader/driverselect.c b/loader/driverselect.c index f9379f0..c7ad957 100644 --- a/loader/driverselect.c +++ b/loader/driverselect.c @@ -248,3 +248,5 @@ int chooseManualDriver(int class, struct loaderData_s *loaderData) { return LOADER_OK; } + +/* vim:set sw=8 noet */ diff --git a/loader/fwloader.c b/loader/fwloader.c index 3c4f6f2..f9874bb 100644 --- a/loader/fwloader.c +++ b/loader/fwloader.c @@ -667,7 +667,4 @@ void stop_fw_loader(struct loaderData_s *loaderData) { return; } - -/* - * vim:ts=8:sw=4:sts=4:et - */ +/* vim:set sw=8 noet */ diff --git a/loader/fwloader.h b/loader/fwloader.h index e0b0fe8..00aeabd 100644 --- a/loader/fwloader.h +++ b/loader/fwloader.h @@ -30,6 +30,5 @@ extern void start_fw_loader(struct loaderData_s *loaderData); extern void stop_fw_loader(struct loaderData_s *loaderData); #endif /* FWLOADER_H */ -/* - * vim:ts=8:sw=4:sts=4:et - */ + +/* vim:set sw=8 noet */ diff --git a/loader/getparts.c b/loader/getparts.c index 8d2b7c4..db4d671 100644 --- a/loader/getparts.c +++ b/loader/getparts.c @@ -178,3 +178,5 @@ void freePartitionsList(char **list) { free(list); list = NULL; } + +/* vim:set sw=8 noet */ diff --git a/loader/getparts.h b/loader/getparts.h index b672a77..ce82921 100644 --- a/loader/getparts.h +++ b/loader/getparts.h @@ -25,3 +25,5 @@ int lenPartitionsList(char **list); void freePartitionsList(char **list); #endif + +/* vim:set sw=8 noet */ diff --git a/loader/hardware.c b/loader/hardware.c index 93fb0f8..553e66e 100644 --- a/loader/hardware.c +++ b/loader/hardware.c @@ -199,3 +199,5 @@ void dasdSetup() { } #endif } + +/* vim:set sw=8 noet */ diff --git a/loader/hardware.h b/loader/hardware.h index d49980d..c8e955d 100644 --- a/loader/hardware.h +++ b/loader/hardware.h @@ -28,3 +28,5 @@ int busProbe(int justProbe); void dasdSetup(); #endif + +/* vim:set sw=8 noet */ diff --git a/loader/hdinstall.c b/loader/hdinstall.c index ea39095..f421a56 100644 --- a/loader/hdinstall.c +++ b/loader/hdinstall.c @@ -483,4 +483,4 @@ int kickstartFromBD(char *kssrc) { return 0; } -/* vim:set shiftwidth=4 softtabstop=4: */ +/* vim:set sw=8 noet */ diff --git a/loader/hdinstall.h b/loader/hdinstall.h index 44351a3..47229e9 100644 --- a/loader/hdinstall.h +++ b/loader/hdinstall.h @@ -36,3 +36,5 @@ int kickstartFromHD(char *kssrc); int kickstartFromBD(char *kssrc); #endif + +/* vim:set sw=8 noet */ diff --git a/loader/ibft.c b/loader/ibft.c index b3a3827..afb3707 100644 --- a/loader/ibft.c +++ b/loader/ibft.c @@ -103,3 +103,5 @@ ibft_iface_charfunc(iface, iface_name) ibft_iface_charfunc(dns1, primary_dns) ibft_iface_charfunc(dns2, secondary_dns) + +/* vim:set sw=8 noet */ diff --git a/loader/ibft.h b/loader/ibft.h index a922c91..118f3a4 100644 --- a/loader/ibft.h +++ b/loader/ibft.h @@ -43,3 +43,5 @@ char* ibft_iface_dns2(); #endif /* end of ibft.h */ + +/* vim:set sw=8 noet */ diff --git a/loader/init.c b/loader/init.c index 021f2ab..6b07ab8 100644 --- a/loader/init.c +++ b/loader/init.c @@ -867,5 +867,4 @@ int main(int argc, char **argv) { return 0; } -/* vim:tw=78:ts=4:et:sw=4 - */ +/* vim:set sw=8 noet */ diff --git a/loader/init.h b/loader/init.h index 413c8ba..edb4912 100644 --- a/loader/init.h +++ b/loader/init.h @@ -28,3 +28,5 @@ typedef enum { extern int shouldReboot; #endif /* INIT_H */ + +/* vim:set sw=8 noet */ diff --git a/loader/kbd.c b/loader/kbd.c index 191f91d..db75260 100644 --- a/loader/kbd.c +++ b/loader/kbd.c @@ -162,3 +162,5 @@ void setKickstartKeyboard(struct loaderData_s * loaderData, int argc, loaderData->kbd = argv[1]; loaderData->kbd_set = 1; } + +/* vim:set sw=8 noet */ diff --git a/loader/kbd.h b/loader/kbd.h index 26c7111..e9478c2 100644 --- a/loader/kbd.h +++ b/loader/kbd.h @@ -25,3 +25,5 @@ void setKickstartKeyboard(struct loaderData_s * loaderData, int argc, char ** argv); #endif + +/* vim:set sw=8 noet */ diff --git a/loader/kickstart.c b/loader/kickstart.c index f2c758d..f1cf962 100644 --- a/loader/kickstart.c +++ b/loader/kickstart.c @@ -546,4 +546,4 @@ void runKickstart(struct loaderData_s * loaderData) { } } -/* vim:set sw=4 sts=4 et: */ +/* vim:set sw=8 noet */ diff --git a/loader/kickstart.h b/loader/kickstart.h index 3418cac..8b9a1a9 100644 --- a/loader/kickstart.h +++ b/loader/kickstart.h @@ -51,3 +51,5 @@ void runKickstart(struct loaderData_s * loaderData); int getKickstartFromBlockDevice(char *device, char *path); #endif + +/* vim:set sw=8 noet */ diff --git a/loader/lang.c b/loader/lang.c index fe2e8b7..734f826 100644 --- a/loader/lang.c +++ b/loader/lang.c @@ -396,3 +396,5 @@ void setKickstartLanguage(struct loaderData_s * loaderData, int argc, loaderData->lang = argv[1]; loaderData->lang_set = 1; } + +/* vim:set sw=8 noet */ diff --git a/loader/lang.h b/loader/lang.h index 965f5a0..9044153 100644 --- a/loader/lang.h +++ b/loader/lang.h @@ -39,3 +39,5 @@ void setKickstartLanguage(struct loaderData_s * loaderData, int argc, char ** argv); #endif /* _LANG_H_ */ + +/* vim:set sw=8 noet */ diff --git a/loader/loader.c b/loader/loader.c index 4ef03b5..97b0512 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -2287,4 +2287,4 @@ int main(int argc, char ** argv) { doExit(1); } -/* vim:set sw=4 sts=4 et: */ +/* vim:set sw=8 noet */ diff --git a/loader/loader.h b/loader/loader.h index a0d706c..6ed2197 100644 --- a/loader/loader.h +++ b/loader/loader.h @@ -188,3 +188,5 @@ struct loaderData_s { } #endif + +/* vim:set sw=8 noet */ diff --git a/loader/loadermisc.c b/loader/loadermisc.c index 03d26bb..f998b57 100644 --- a/loader/loadermisc.c +++ b/loader/loadermisc.c @@ -147,3 +147,5 @@ int totalMemory(void) { return total; } + +/* vim:set sw=8 noet */ diff --git a/loader/loadermisc.h b/loader/loadermisc.h index 23ebf4a..8a97360 100644 --- a/loader/loadermisc.h +++ b/loader/loadermisc.h @@ -31,3 +31,5 @@ int simpleStringCmp(const void * a, const void * b); int totalMemory(void); #endif + +/* vim:set sw=8 noet */ diff --git a/loader/log.c b/loader/log.c index 0d1fa98..ac26ad3 100644 --- a/loader/log.c +++ b/loader/log.c @@ -151,4 +151,4 @@ int getLogLevel(void) { return minLevel; } -/* vim:set shiftwidth=4 softtabstop=4: */ +/* vim:set sw=8 noet */ diff --git a/loader/log.h b/loader/log.h index 183c0b2..3461d2a 100644 --- a/loader/log.h +++ b/loader/log.h @@ -42,3 +42,5 @@ extern int tty_logfd; extern int file_logfd; #endif /* _LOG_H_ */ + +/* vim:set sw=8 noet */ diff --git a/loader/mediacheck.c b/loader/mediacheck.c index 6e96647..118e774 100644 --- a/loader/mediacheck.c +++ b/loader/mediacheck.c @@ -108,3 +108,5 @@ int doMediaCheck(char *file, char *descr) { return rc; } + +/* vim:set sw=8 noet */ diff --git a/loader/mediacheck.h b/loader/mediacheck.h index ab2f887..b877e40 100644 --- a/loader/mediacheck.h +++ b/loader/mediacheck.h @@ -23,3 +23,5 @@ int doMediaCheck(char *file, char *descr); #endif + +/* vim:set sw=8 noet */ diff --git a/loader/method.c b/loader/method.c index 3330c24..e7e10c3 100644 --- a/loader/method.c +++ b/loader/method.c @@ -535,3 +535,5 @@ void setStage2LocFromCmdline(char * arg, struct loaderData_s * ld) { } free(dup); } + +/* vim:set sw=8 noet */ diff --git a/loader/method.h b/loader/method.h index 1b5e2d3..6ddc76b 100644 --- a/loader/method.h +++ b/loader/method.h @@ -58,3 +58,5 @@ void copyProductImg(char * path); void setStage2LocFromCmdline(char * arg, struct loaderData_s * ld); #endif + +/* vim:set sw=8 noet */ diff --git a/loader/mkctype.c b/loader/mkctype.c index 12eaba0..9d1558b 100644 --- a/loader/mkctype.c +++ b/loader/mkctype.c @@ -74,3 +74,5 @@ int main(int argc, char ** argv) { return 0; }; + +/* vim:set sw=8 noet */ diff --git a/loader/moduleinfo.c b/loader/moduleinfo.c index 2e0ab77..ef38d73 100644 --- a/loader/moduleinfo.c +++ b/loader/moduleinfo.c @@ -274,3 +274,5 @@ void freeModuleInfoSet(moduleInfoSet mis) { free(mis); } + +/* vim:set sw=8 noet */ diff --git a/loader/moduleinfo.h b/loader/moduleinfo.h index 72f6d71..d1a4a52 100644 --- a/loader/moduleinfo.h +++ b/loader/moduleinfo.h @@ -76,3 +76,5 @@ struct moduleInfo * getModuleList(moduleInfoSet mis, #endif + +/* vim:set sw=8 noet */ diff --git a/loader/modules.c b/loader/modules.c index 07f781a..4bda633 100644 --- a/loader/modules.c +++ b/loader/modules.c @@ -408,3 +408,5 @@ void loadKickstartModule(struct loaderData_s * loaderData, g_strfreev(args); return; } + +/* vim:set sw=8 noet */ diff --git a/loader/modules.h b/loader/modules.h index 88fa25f..6785df9 100644 --- a/loader/modules.h +++ b/loader/modules.h @@ -41,3 +41,5 @@ gboolean mlRemoveBlacklist(gchar *); void loadKickstartModule(struct loaderData_s *, int, char **); #endif + +/* vim:set sw=8 noet */ diff --git a/loader/net.c b/loader/net.c index 3049fbc..60f6f59 100644 --- a/loader/net.c +++ b/loader/net.c @@ -2108,4 +2108,4 @@ int get_connection(iface_t *iface) { return 3; } -/* vim:set shiftwidth=4 softtabstop=4: */ +/* vim:set sw=8 noet */ diff --git a/loader/net.h b/loader/net.h index 8245084..f6659bf 100644 --- a/loader/net.h +++ b/loader/net.h @@ -75,3 +75,5 @@ void splitHostname (char *str, char **host, char **port); int get_connection(iface_t * iface); #endif + +/* vim:set sw=8 noet */ diff --git a/loader/nfsinstall.c b/loader/nfsinstall.c index de1ce29..ac25878 100644 --- a/loader/nfsinstall.c +++ b/loader/nfsinstall.c @@ -553,4 +553,4 @@ int kickstartFromNfs(char * url, struct loaderData_s * loaderData) { return getFileFromNfs(url, "/tmp/ks.cfg", loaderData); } -/* vim:set shiftwidth=4 softtabstop=4: */ +/* vim:set sw=8 noet */ diff --git a/loader/nfsinstall.h b/loader/nfsinstall.h index 99a8b06..1517cc3 100644 --- a/loader/nfsinstall.h +++ b/loader/nfsinstall.h @@ -38,3 +38,5 @@ int getFileFromNfs(char * url, char * dest, struct loaderData_s * loaderData); void parseNfsHostPathOpts(char * url, char ** host, char ** path, char ** opts); #endif + +/* vim:set sw=8 noet */ diff --git a/loader/selinux.c b/loader/selinux.c index 337d041..45fab1d 100644 --- a/loader/selinux.c +++ b/loader/selinux.c @@ -54,3 +54,5 @@ int loadpolicy() { return 0; } + +/* vim:set sw=8 noet */ diff --git a/loader/selinux.h b/loader/selinux.h index 5877ddd..4f7be78 100644 --- a/loader/selinux.h +++ b/loader/selinux.h @@ -25,3 +25,5 @@ int loadpolicy(); #define ANACONDA_CONTEXT "system_u:system_r:anaconda_t:s0" #endif + +/* vim:set sw=8 noet */ diff --git a/loader/shutdown.c b/loader/shutdown.c index 8f2c55e..3ade4c2 100644 --- a/loader/shutdown.c +++ b/loader/shutdown.c @@ -152,4 +152,4 @@ int main(int argc, char ** argv) { } #endif -/* vim:set shiftwidth=4 softtabstop=4 ts=4: */ +/* vim:set sw=8 noet */ diff --git a/loader/telnet.c b/loader/telnet.c index a2c0b20..888ff14 100644 --- a/loader/telnet.c +++ b/loader/telnet.c @@ -271,3 +271,5 @@ telnet_send_output(int sock, char *data, int len) { /* now send it... */ ret = write(sock, buf, len); } + +/* vim:set sw=8 noet */ diff --git a/loader/telnet.h b/loader/telnet.h index 5c34154..f9e3c03 100644 --- a/loader/telnet.h +++ b/loader/telnet.h @@ -38,3 +38,5 @@ void telnet_send_output(int sock, char *data, int len); #endif /* __TELNET_H__ */ + +/* vim:set sw=8 noet */ diff --git a/loader/telnetd.c b/loader/telnetd.c index cdf7e16..7497901 100644 --- a/loader/telnetd.c +++ b/loader/telnetd.c @@ -253,3 +253,5 @@ void startTelnetd(struct loaderData_s * loaderData) { return; } + +/* vim:set sw=8 noet */ diff --git a/loader/telnetd.h b/loader/telnetd.h index fedb0fa..588ce11 100644 --- a/loader/telnetd.h +++ b/loader/telnetd.h @@ -23,3 +23,5 @@ void startTelnetd(struct loaderData_s * loaderData); #endif + +/* vim:set sw=8 noet */ diff --git a/loader/udelay.h b/loader/udelay.h index 5315074..372e945 100644 --- a/loader/udelay.h +++ b/loader/udelay.h @@ -194,6 +194,5 @@ udelay(long long usecs) } #endif /* UDELAY_H */ -/* - * vim:ts=8:sw=4:sts=4:et - */ + +/* vim:set sw=8 noet */ diff --git a/loader/undomounts.c b/loader/undomounts.c index af5caaa..b42d9b1 100644 --- a/loader/undomounts.c +++ b/loader/undomounts.c @@ -237,3 +237,5 @@ void disableSwap(void) { start = chptr + 1; } } + +/* vim:set sw=8 noet */ diff --git a/loader/urlinstall.c b/loader/urlinstall.c index 9148c33..3813c24 100644 --- a/loader/urlinstall.c +++ b/loader/urlinstall.c @@ -412,4 +412,4 @@ void setKickstartUrl(struct loaderData_s * loaderData, int argc, logMessage(INFO, "results of url ks, url %s", url); } -/* vim:set shiftwidth=4 softtabstop=4: */ +/* vim:set sw=8 noet */ diff --git a/loader/urlinstall.h b/loader/urlinstall.h index 710b0ae..808d64e 100644 --- a/loader/urlinstall.h +++ b/loader/urlinstall.h @@ -34,3 +34,5 @@ int getFileFromUrl(char * url, char * dest, struct loaderData_s * loaderData); #endif + +/* vim:set sw=8 noet */ diff --git a/loader/urls.c b/loader/urls.c index f7d3e34..1ad5493 100644 --- a/loader/urls.c +++ b/loader/urls.c @@ -366,3 +366,5 @@ int urlMainSetupPanel(struct loaderData_s *loaderData, struct iurlinfo * ui) { return 0; } + +/* vim:set sw=8 noet */ diff --git a/loader/urls.h b/loader/urls.h index ec84dde..91739d0 100644 --- a/loader/urls.h +++ b/loader/urls.h @@ -34,3 +34,5 @@ int urlinstTransfer(struct loaderData_s *loaderData, struct iurlinfo *ui, char **extraHeaders, char *dest); #endif + +/* vim:set sw=8 noet */ diff --git a/loader/windows.c b/loader/windows.c index 3d57136..0dfdd48 100644 --- a/loader/windows.c +++ b/loader/windows.c @@ -116,4 +116,4 @@ struct progressCBdata *winProgressBar(int width, int height, char *title, char * return NULL; } -/* vim:set shiftwidth=4 softtabstop=4: */ +/* vim:set sw=8 noet */ diff --git a/loader/windows.h b/loader/windows.h index f635102..7499e41 100644 --- a/loader/windows.h +++ b/loader/windows.h @@ -41,3 +41,5 @@ void progressCallback(void *pbdata, long long pos, long long total); struct progressCBdata *winProgressBar(int width, int height, char *title, char *text, ...); #endif /* _WINDOWS_H_ */ + +/* vim:set sw=8 noet */ diff --git a/mini-wm.c b/mini-wm.c index 7756179..7e7f048 100644 --- a/mini-wm.c +++ b/mini-wm.c @@ -121,3 +121,5 @@ int main( int argc, return(0); } + +/* vim:set sw=8 noet */ diff --git a/utils/geninitrdsz.c b/utils/geninitrdsz.c index 6dfd976..5d5be44 100644 --- a/utils/geninitrdsz.c +++ b/utils/geninitrdsz.c @@ -60,3 +60,5 @@ int main(int argc,char **argv) { close(fd); return 0; } + +/* vim:set sw=8 noet */ diff --git a/utils/mapshdr.c b/utils/mapshdr.c index f2209c7..2408ada 100644 --- a/utils/mapshdr.c +++ b/utils/mapshdr.c @@ -57,3 +57,5 @@ int main(int argc, char ** argv) { return 0; } + +/* vim:set sw=8 noet */ diff --git a/utils/mk-s390-cdboot.c b/utils/mk-s390-cdboot.c index 4a58258..d05aa98 100644 --- a/utils/mk-s390-cdboot.c +++ b/utils/mk-s390-cdboot.c @@ -282,3 +282,5 @@ int main (int argc, char **argv) { return EXIT_SUCCESS; } + +/* vim:set sw=8 noet */ diff --git a/utils/modlist.c b/utils/modlist.c index 7aff567..e14499a 100644 --- a/utils/modlist.c +++ b/utils/modlist.c @@ -144,3 +144,5 @@ int main(int argc, char ** argv) { g_strfreev(remaining); return 0; } + +/* vim:set sw=8 noet */ diff --git a/utils/readmap.c b/utils/readmap.c index 7d65636..f570d49 100644 --- a/utils/readmap.c +++ b/utils/readmap.c @@ -117,3 +117,5 @@ int main(int argc, char ** argv) { return 0; } + +/* vim:set sw=8 noet */ diff --git a/utils/snarffont.c b/utils/snarffont.c index 49bad6e..bdaff2d 100644 --- a/utils/snarffont.c +++ b/utils/snarffont.c @@ -95,3 +95,5 @@ int main(void) { return 0; } + +/* vim:set sw=8 noet */ diff --git a/xutils.c b/xutils.c index 372ffca..a411beb 100644 --- a/xutils.c +++ b/xutils.c @@ -266,3 +266,5 @@ initxutils () d = Py_InitModule ("xutils", xutilsMethods); } + +/* vim:set sw=8 noet */ -- 1.6.5.2 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list