about summary refs log tree commit diff
path: root/lib/pm.h
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2024-09-10 23:46:41 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2024-09-10 23:46:41 +0000
commit32b514bbad010bc4eada866bf2935e477af0164e (patch)
tree3bf09445d3b59475ef2375b9eefaca7e305ef169 /lib/pm.h
parent3edff148551c189eac2c83d47c4de16edf0d87bf (diff)
downloadnetpbm-mirror-32b514bbad010bc4eada866bf2935e477af0164e.tar.gz
netpbm-mirror-32b514bbad010bc4eada866bf2935e477af0164e.tar.xz
netpbm-mirror-32b514bbad010bc4eada866bf2935e477af0164e.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4938 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/pm.h')
-rw-r--r--lib/pm.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/pm.h b/lib/pm.h
index 62ad5355..c81a9f20 100644
--- a/lib/pm.h
+++ b/lib/pm.h
@@ -31,29 +31,6 @@ extern "C" {
 #endif
 
 
-/* Definitions to make Netpbm programs work with either ANSI C or C
-   Classic.
-
-   This is obsolete, as all compilers recognize the ANSI syntax now.
-
-   We are slowly removing all the ARGS invocations from the programs
-   (and replacing them with explicit ANSI syntax), but we have a lot
-   of programs where we have removed ARGS from the definition but not
-   the prototype, and we have discovered that the Sun compiler
-   considers the resulting mismatch between definition and prototype
-   to be an error.  So we make ARGS create the ANSI syntax
-   unconditionally to avoid having to fix all those mismatches.  */
-
-#if 0
-#if __STDC__
-#define ARGS(alist) alist
-#else /*__STDC__*/
-#define ARGS(alist) ()
-#define const
-#endif /*__STDC__*/
-#endif
-#define ARGS(alist) alist
-
 
 /* PM_GNU_PRINTF_ATTR lets the GNU compiler check pm_message() and pm_error()
    calls to be sure the arguments match the format string, thus preventing