chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
man: improve grammar and word formatting in numerous man pages
[elogind.git]
/
src
/
readahead
/
sd-readahead.c
diff --git
a/src/readahead/sd-readahead.c
b/src/readahead/sd-readahead.c
index d48cd768079e74166f716283368ae7795765af72..675d82cdd18bf9c87dc64006c64ca77e2c5ffa77 100644
(file)
--- a/
src/readahead/sd-readahead.c
+++ b/
src/readahead/sd-readahead.c
@@
-25,7
+25,7
@@
***/
#ifndef _GNU_SOURCE
***/
#ifndef _GNU_SOURCE
-#define _GNU_SOURCE
+#
define _GNU_SOURCE
#endif
#include <unistd.h>
#endif
#include <unistd.h>
@@
-38,15
+38,15
@@
#include "sd-readahead.h"
#if (__GNUC__ >= 4)
#include "sd-readahead.h"
#if (__GNUC__ >= 4)
-#ifdef SD_EXPORT_SYMBOLS
+#
ifdef SD_EXPORT_SYMBOLS
/* Export symbols */
/* Export symbols */
-#define _sd_export_ __attribute__ ((visibility("default")))
-#else
+#
define _sd_export_ __attribute__ ((visibility("default")))
+#
else
/* Don't export the symbols */
/* Don't export the symbols */
-#define _sd_export_ __attribute__ ((visibility("hidden")))
-#endif
+#
define _sd_export_ __attribute__ ((visibility("hidden")))
+#
endif
#else
#else
-#define _sd_export_
+#
define _sd_export_
#endif
static int touch(const char *path) {
#endif
static int touch(const char *path) {
@@
-65,7
+65,7
@@
static int touch(const char *path) {
if (close(fd) >= 0)
break;
if (close(fd) >= 0)
break;
- if (errno !=
-
EINTR)
+ if (errno != EINTR)
return -errno;
}
return -errno;
}