dos line endings
[reactos.git] / rosapps / sysutils / dosfsck / common.h
index 98a4685..6e9bdce 100644 (file)
@@ -1,42 +1,42 @@
-/* common.h  -  Common functions */
-
-# define MSDOS_FAT12 4084 /* maximum number of clusters in a 12 bit FAT */
-
-#include "version.h"
-
-#ifndef _COMMON_H
-#define _COMMON_H
-\r
-//void die(char *msg,...) __attribute((noreturn));
+/* common.h  -  Common functions */\r
+\r
+# define MSDOS_FAT12 4084 /* maximum number of clusters in a 12 bit FAT */\r
+\r
+#include "version.h"\r
+\r
+#ifndef _COMMON_H\r
+#define _COMMON_H\r
+\r
+//void die(char *msg,...) __attribute((noreturn));\r
 __declspec(noreturn) void die(char *msg,...);\r
-
-/* Displays a prinf-style message and terminates the program. */
-
-//void pdie(char *msg,...) __attribute((noreturn));
+\r
+/* Displays a prinf-style message and terminates the program. */\r
+\r
+//void pdie(char *msg,...) __attribute((noreturn));\r
 __declspec(noreturn) void pdie(char *msg,...);\r
-
-/* Like die, but appends an error message according to the state of errno. */
-
-void *alloc(int size);
-
-/* mallocs SIZE bytes and returns a pointer to the data. Terminates the program
-   if malloc fails. */
-
-void *qalloc(void **root,int size);
-
-/* Like alloc, but registers the data area in a list described by ROOT. */
-
-void qfree(void **root);
-
-/* Deallocates all qalloc'ed data areas described by ROOT. */
-
-//int min(int a,int b);
-
-/* Returns the smaller integer value of a and b. */
-
-char get_key(char *valid,char *prompt);
-
-/* Displays PROMPT and waits for user input. Only characters in VALID are
-   accepted. Terminates the program on EOF. Returns the character. */
-
-#endif
+\r
+/* Like die, but appends an error message according to the state of errno. */\r
+\r
+void *alloc(int size);\r
+\r
+/* mallocs SIZE bytes and returns a pointer to the data. Terminates the program\r
+   if malloc fails. */\r
+\r
+void *qalloc(void **root,int size);\r
+\r
+/* Like alloc, but registers the data area in a list described by ROOT. */\r
+\r
+void qfree(void **root);\r
+\r
+/* Deallocates all qalloc'ed data areas described by ROOT. */\r
+\r
+//int min(int a,int b);\r
+\r
+/* Returns the smaller integer value of a and b. */\r
+\r
+char get_key(char *valid,char *prompt);\r
+\r
+/* Displays PROMPT and waits for user input. Only characters in VALID are\r
+   accepted. Terminates the program on EOF. Returns the character. */\r
+\r
+#endif\r