Print this page
first pass
@@ -31,11 +31,10 @@
/*
* A one-rotor machine designed along the lines of Enigma
* but considerably trivialized.
*/
-/* EXPORT DELETE START */
#define ECHO 010
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
@@ -94,16 +93,14 @@
t3[ic] = k;
}
for (i = 0; i < ROTORSZ; i++)
t2[t1[i]&MASK] = i;
}
-/* EXPORT DELETE END */
int
main(int argc, char **argv)
{
-/* EXPORT DELETE START */
extern int optind;
char *p1;
int i, n1, n2, nchar;
int c;
struct {
@@ -197,7 +194,6 @@
n2++;
if (n2 == ROTORSZ) n2 = 0;
}
}
return (0);
-/* EXPORT DELETE END */
}