summaryrefslogtreecommitdiffstats
path: root/usr.bin/unifdef/unifdef.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/unifdef/unifdef.h')
-rw-r--r--usr.bin/unifdef/unifdef.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/unifdef/unifdef.h b/usr.bin/unifdef/unifdef.h
index 8837b68..e2e0bd8 100644
--- a/usr.bin/unifdef/unifdef.h
+++ b/usr.bin/unifdef/unifdef.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012 Tony Finch <dot@dotat.at>
+ * Copyright (c) 2012 - 2013 Tony Finch <dot@dotat.at>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -40,6 +40,8 @@
#define fbinmode(fp) (fp)
+#define replace(old,new) rename(old,new)
+
static FILE *
mktempmode(char *tmp, int mode)
{
OpenPOWER on IntegriCloud